@gooddata/sdk-code-schemas 11.63.0-alpha.1 → 11.63.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/sdk-code-schemas.d.ts +7315 -3966
- package/esm/v1/metadata.d.ts +1034 -16
- package/esm/v1/metadata.d.ts.map +1 -1
- package/esm/v1/metadata.json +1321 -20
- package/esm/v1/schema.d.ts +4244 -2121
- package/esm/v1/schema.d.ts.map +1 -1
- package/package.json +3 -3
package/esm/v1/metadata.json
CHANGED
|
@@ -83,6 +83,18 @@
|
|
|
83
83
|
"if": { "properties": { "type": { "const": "report_page_layout" } }, "required": ["type"] },
|
|
84
84
|
"then": { "$ref": "#/$global/gaac/report_page_layout" }
|
|
85
85
|
},
|
|
86
|
+
{
|
|
87
|
+
"if": { "properties": { "type": { "const": "document" } }, "required": ["type"] },
|
|
88
|
+
"then": { "$ref": "#/$global/gaac/publisherDocumentV2" }
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"if": { "properties": { "type": { "const": "document_template" } }, "required": ["type"] },
|
|
92
|
+
"then": { "$ref": "#/$global/gaac/publisherDocumentTemplateV2" }
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"if": { "properties": { "type": { "const": "page_template" } }, "required": ["type"] },
|
|
96
|
+
"then": { "$ref": "#/$global/gaac/publisherPageTemplateV2" }
|
|
97
|
+
},
|
|
86
98
|
{
|
|
87
99
|
"if": { "not": { "properties": { "type": { "type": "string" } }, "required": ["type"] } },
|
|
88
100
|
"then": {
|
|
@@ -122,7 +134,10 @@
|
|
|
122
134
|
"parameter",
|
|
123
135
|
"report",
|
|
124
136
|
"report_template",
|
|
125
|
-
"report_page_layout"
|
|
137
|
+
"report_page_layout",
|
|
138
|
+
"document",
|
|
139
|
+
"document_template",
|
|
140
|
+
"page_template"
|
|
126
141
|
]
|
|
127
142
|
}
|
|
128
143
|
}
|
|
@@ -165,7 +180,10 @@
|
|
|
165
180
|
"parameter",
|
|
166
181
|
"report",
|
|
167
182
|
"report_template",
|
|
168
|
-
"report_page_layout"
|
|
183
|
+
"report_page_layout",
|
|
184
|
+
"document",
|
|
185
|
+
"document_template",
|
|
186
|
+
"page_template"
|
|
169
187
|
]
|
|
170
188
|
}
|
|
171
189
|
},
|
|
@@ -2785,6 +2803,119 @@
|
|
|
2785
2803
|
"required": ["id", "type", "title", "layout"],
|
|
2786
2804
|
"description": "A reusable page. Its content fields are the same page body a document and a document template carry inline, so a field added to /gaac/reportPageBody belongs here too: JSON Schema cannot compose the two, because the page body closes itself to the entity's own id, title and tags."
|
|
2787
2805
|
},
|
|
2806
|
+
"publisherDocumentV2": {
|
|
2807
|
+
"title": "Publisher Document V2",
|
|
2808
|
+
"type": "object",
|
|
2809
|
+
"additionalProperties": false,
|
|
2810
|
+
"properties": {
|
|
2811
|
+
"id": {
|
|
2812
|
+
"type": "string",
|
|
2813
|
+
"pattern": "^(?!default\\.)(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
2814
|
+
"description": "A unique identifier of the document. Ids starting with default. are reserved.",
|
|
2815
|
+
"$semantic": [
|
|
2816
|
+
{
|
|
2817
|
+
"type": "uniqueness",
|
|
2818
|
+
"source": "document.id",
|
|
2819
|
+
"code": "core.uniqueness.documents.id"
|
|
2820
|
+
},
|
|
2821
|
+
{ "type": "definition", "source": "document.id" }
|
|
2822
|
+
]
|
|
2823
|
+
},
|
|
2824
|
+
"type": { "type": "string", "enum": ["document"] },
|
|
2825
|
+
"version": {
|
|
2826
|
+
"type": "string",
|
|
2827
|
+
"enum": ["2"],
|
|
2828
|
+
"description": "Version of the content format."
|
|
2829
|
+
},
|
|
2830
|
+
"title": { "$ref": "#/$global/gaac/publisherEntityTitleV2" },
|
|
2831
|
+
"description": { "$ref": "#/$global/gaac/publisherEntityDescriptionV2" },
|
|
2832
|
+
"tags": { "$ref": "#/$global/gaac/publisherEntityTagsV2" },
|
|
2833
|
+
"period": { "$ref": "#/$global/gaac/publisherPeriodV2" },
|
|
2834
|
+
"content": { "$ref": "#/$global/gaac/publisherDocumentContentV2" }
|
|
2835
|
+
},
|
|
2836
|
+
"required": ["id", "type", "version", "title", "period", "content"],
|
|
2837
|
+
"$semantic": { "type": "snippet", "snippets": ["document"] },
|
|
2838
|
+
"not": {
|
|
2839
|
+
"$comment": "Only a document template sets content.defaults.period. Each level states type: object, because a value that is not an object satisfies required and properties, so the rule would also fire on it.",
|
|
2840
|
+
"type": "object",
|
|
2841
|
+
"required": ["content"],
|
|
2842
|
+
"properties": {
|
|
2843
|
+
"content": {
|
|
2844
|
+
"type": "object",
|
|
2845
|
+
"required": ["defaults"],
|
|
2846
|
+
"properties": { "defaults": { "type": "object", "required": ["period"] } }
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
"publisherDocumentTemplateV2": {
|
|
2852
|
+
"title": "Publisher Document Template V2",
|
|
2853
|
+
"description": "A document created from the template gets a deep copy of its content and keeps no reference back.",
|
|
2854
|
+
"type": "object",
|
|
2855
|
+
"additionalProperties": false,
|
|
2856
|
+
"properties": {
|
|
2857
|
+
"id": {
|
|
2858
|
+
"type": "string",
|
|
2859
|
+
"pattern": "^(?!default\\.)(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
2860
|
+
"description": "A unique identifier of the document template. Ids starting with default. are reserved.",
|
|
2861
|
+
"$semantic": [
|
|
2862
|
+
{
|
|
2863
|
+
"type": "uniqueness",
|
|
2864
|
+
"source": "documentTemplate.id",
|
|
2865
|
+
"code": "core.uniqueness.documentTemplates.id"
|
|
2866
|
+
},
|
|
2867
|
+
{ "type": "definition", "source": "documentTemplate.id" }
|
|
2868
|
+
]
|
|
2869
|
+
},
|
|
2870
|
+
"type": { "type": "string", "enum": ["document_template"] },
|
|
2871
|
+
"version": {
|
|
2872
|
+
"type": "string",
|
|
2873
|
+
"enum": ["2"],
|
|
2874
|
+
"description": "Version of the content format."
|
|
2875
|
+
},
|
|
2876
|
+
"title": { "$ref": "#/$global/gaac/publisherEntityTitleV2" },
|
|
2877
|
+
"description": { "$ref": "#/$global/gaac/publisherEntityDescriptionV2" },
|
|
2878
|
+
"tags": { "$ref": "#/$global/gaac/publisherEntityTagsV2" },
|
|
2879
|
+
"content": { "$ref": "#/$global/gaac/publisherDocumentContentV2" }
|
|
2880
|
+
},
|
|
2881
|
+
"required": ["id", "type", "version", "title", "content"],
|
|
2882
|
+
"$semantic": { "type": "snippet", "snippets": ["document_template"] }
|
|
2883
|
+
},
|
|
2884
|
+
"publisherPageTemplateV2": {
|
|
2885
|
+
"title": "Publisher Page Template V2",
|
|
2886
|
+
"type": "object",
|
|
2887
|
+
"additionalProperties": false,
|
|
2888
|
+
"properties": {
|
|
2889
|
+
"id": {
|
|
2890
|
+
"type": "string",
|
|
2891
|
+
"pattern": "^(?!default\\.)(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
2892
|
+
"description": "A unique identifier of the page template. Ids starting with default. are reserved.",
|
|
2893
|
+
"$semantic": [
|
|
2894
|
+
{
|
|
2895
|
+
"type": "uniqueness",
|
|
2896
|
+
"source": "pageTemplate.id",
|
|
2897
|
+
"code": "core.uniqueness.pageTemplates.id"
|
|
2898
|
+
},
|
|
2899
|
+
{ "type": "definition", "source": "pageTemplate.id" }
|
|
2900
|
+
]
|
|
2901
|
+
},
|
|
2902
|
+
"type": { "type": "string", "enum": ["page_template"] },
|
|
2903
|
+
"version": {
|
|
2904
|
+
"type": "string",
|
|
2905
|
+
"enum": ["2"],
|
|
2906
|
+
"description": "Version of the content format."
|
|
2907
|
+
},
|
|
2908
|
+
"title": { "$ref": "#/$global/gaac/publisherEntityTitleV2" },
|
|
2909
|
+
"description": { "$ref": "#/$global/gaac/publisherEntityDescriptionV2" },
|
|
2910
|
+
"tags": { "$ref": "#/$global/gaac/publisherEntityTagsV2" },
|
|
2911
|
+
"content": {
|
|
2912
|
+
"$ref": "#/$global/gaac/publisherPageBodyV2",
|
|
2913
|
+
"description": "Copied into a document, with a page id added, when the template is used."
|
|
2914
|
+
}
|
|
2915
|
+
},
|
|
2916
|
+
"required": ["id", "type", "version", "title", "content"],
|
|
2917
|
+
"$semantic": { "type": "snippet", "snippets": ["page_template"] }
|
|
2918
|
+
},
|
|
2788
2919
|
"identifier": { "title": "Id", "type": "string", "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$" },
|
|
2789
2920
|
"title": { "type": "string", "maxLength": 255 },
|
|
2790
2921
|
"description": { "type": "string", "maxLength": 10000 },
|
|
@@ -2866,29 +2997,780 @@
|
|
|
2866
2997
|
}
|
|
2867
2998
|
}
|
|
2868
2999
|
},
|
|
2869
|
-
"permission": {
|
|
2870
|
-
"title": "Permission",
|
|
2871
|
-
"description": "A permission object",
|
|
3000
|
+
"permission": {
|
|
3001
|
+
"title": "Permission",
|
|
3002
|
+
"description": "A permission object",
|
|
3003
|
+
"type": "object",
|
|
3004
|
+
"properties": {
|
|
3005
|
+
"all": { "type": "boolean" },
|
|
3006
|
+
"users": { "type": "array", "items": { "type": "string" } },
|
|
3007
|
+
"user_groups": { "type": "array", "items": { "type": "string" } }
|
|
3008
|
+
}
|
|
3009
|
+
},
|
|
3010
|
+
"labelIdentifier": {
|
|
3011
|
+
"title": "Label Identifier",
|
|
3012
|
+
"description": "A label identifier in the form of label/{id}.",
|
|
3013
|
+
"type": "string",
|
|
3014
|
+
"pattern": "^label/(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
3015
|
+
"$semantic": { "type": "reference", "source": "label.id", "typePrefix": true }
|
|
3016
|
+
},
|
|
3017
|
+
"computedAttributeIdentifier": {
|
|
3018
|
+
"title": "Computed Attribute Identifier",
|
|
3019
|
+
"description": "A computed attribute identifier in the form of computed_attribute/{id}.",
|
|
3020
|
+
"type": "string",
|
|
3021
|
+
"pattern": "^computed_attribute/(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
3022
|
+
"$semantic": { "type": "reference", "source": "computedAttribute.id", "typePrefix": true }
|
|
3023
|
+
},
|
|
3024
|
+
"publisherEntityTitleV2": {
|
|
3025
|
+
"title": "Publisher Entity Title V2",
|
|
3026
|
+
"description": "A human readable title.",
|
|
3027
|
+
"type": "string",
|
|
3028
|
+
"minLength": 1,
|
|
3029
|
+
"maxLength": 255
|
|
3030
|
+
},
|
|
3031
|
+
"publisherEntityDescriptionV2": {
|
|
3032
|
+
"title": "Publisher Entity Description V2",
|
|
3033
|
+
"description": "An optional description.",
|
|
3034
|
+
"type": "string",
|
|
3035
|
+
"minLength": 1,
|
|
3036
|
+
"maxLength": 10000
|
|
3037
|
+
},
|
|
3038
|
+
"publisherEntityTagsV2": {
|
|
3039
|
+
"title": "Publisher Entity Tags V2",
|
|
3040
|
+
"description": "A list of strings - metadata tags.",
|
|
3041
|
+
"type": "array",
|
|
3042
|
+
"uniqueItems": true,
|
|
3043
|
+
"items": { "type": "string", "minLength": 1 }
|
|
3044
|
+
},
|
|
3045
|
+
"publisherPeriodV2": {
|
|
3046
|
+
"title": "Publisher Period V2",
|
|
3047
|
+
"description": "The period the document reports on, in the date filter grammar without a dataset. Numbers for from and to make it relative; dates make it absolute. Both ends are inclusive.",
|
|
3048
|
+
"oneOf": [
|
|
3049
|
+
{
|
|
3050
|
+
"title": "Publisher Relative Period V2",
|
|
3051
|
+
"type": "object",
|
|
3052
|
+
"additionalProperties": false,
|
|
3053
|
+
"properties": {
|
|
3054
|
+
"granularity": {
|
|
3055
|
+
"type": "string",
|
|
3056
|
+
"enum": [
|
|
3057
|
+
"SECOND",
|
|
3058
|
+
"MINUTE",
|
|
3059
|
+
"HOUR",
|
|
3060
|
+
"DAY",
|
|
3061
|
+
"WEEK_US",
|
|
3062
|
+
"MONTH",
|
|
3063
|
+
"QUARTER",
|
|
3064
|
+
"YEAR",
|
|
3065
|
+
"FISCAL_YEAR",
|
|
3066
|
+
"FISCAL_QUARTER",
|
|
3067
|
+
"FISCAL_MONTH"
|
|
3068
|
+
]
|
|
3069
|
+
},
|
|
3070
|
+
"from": {
|
|
3071
|
+
"type": "integer",
|
|
3072
|
+
"description": "Offset from the current period, for example -1."
|
|
3073
|
+
},
|
|
3074
|
+
"to": {
|
|
3075
|
+
"type": "integer",
|
|
3076
|
+
"description": "Offset from the current period, for example -1."
|
|
3077
|
+
}
|
|
3078
|
+
},
|
|
3079
|
+
"required": ["granularity", "from", "to"]
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"title": "Publisher Absolute Period V2",
|
|
3083
|
+
"type": "object",
|
|
3084
|
+
"additionalProperties": false,
|
|
3085
|
+
"properties": {
|
|
3086
|
+
"from": {
|
|
3087
|
+
"type": "string",
|
|
3088
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$",
|
|
3089
|
+
"description": "YYYY-MM-DD."
|
|
3090
|
+
},
|
|
3091
|
+
"to": {
|
|
3092
|
+
"type": "string",
|
|
3093
|
+
"pattern": "^\\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])$",
|
|
3094
|
+
"description": "YYYY-MM-DD."
|
|
3095
|
+
}
|
|
3096
|
+
},
|
|
3097
|
+
"required": ["from", "to"]
|
|
3098
|
+
}
|
|
3099
|
+
]
|
|
3100
|
+
},
|
|
3101
|
+
"publisherDocumentContentV2": {
|
|
3102
|
+
"title": "Publisher Document Content V2",
|
|
3103
|
+
"type": "object",
|
|
3104
|
+
"additionalProperties": false,
|
|
3105
|
+
"description": "Holds exactly one of pages and sections.",
|
|
3106
|
+
"properties": {
|
|
3107
|
+
"defaults": { "$ref": "#/$global/gaac/publisherDocumentDefaultsV2" },
|
|
3108
|
+
"filters": {
|
|
3109
|
+
"$ref": "#/$global/gaac/dashboardFilters",
|
|
3110
|
+
"description": "Document filters. Date filters name their date dataset. At most one filter per attribute or date dataset."
|
|
3111
|
+
},
|
|
3112
|
+
"style": { "$ref": "#/$global/gaac/publisherDocumentStyleV2" },
|
|
3113
|
+
"locale": {
|
|
3114
|
+
"$ref": "#/$global/gaac/locale",
|
|
3115
|
+
"description": "Overrides the workspace locale for this document."
|
|
3116
|
+
},
|
|
3117
|
+
"format_locale": {
|
|
3118
|
+
"$ref": "#/$global/gaac/locale",
|
|
3119
|
+
"description": "Overrides the workspace format locale used for dates."
|
|
3120
|
+
},
|
|
3121
|
+
"pages": {
|
|
3122
|
+
"type": "array",
|
|
3123
|
+
"items": { "$ref": "#/$global/gaac/publisherDocumentPageV2" }
|
|
3124
|
+
},
|
|
3125
|
+
"sections": { "type": "array", "items": { "$ref": "#/$global/gaac/publisherSectionV2" } }
|
|
3126
|
+
},
|
|
3127
|
+
"not": {
|
|
3128
|
+
"$comment": "Rejects both and neither. type: object, because a value that is not an object satisfies required, so the rule would also fire on it.",
|
|
3129
|
+
"type": "object",
|
|
3130
|
+
"anyOf": [
|
|
3131
|
+
{ "required": ["pages", "sections"] },
|
|
3132
|
+
{ "not": { "anyOf": [{ "required": ["pages"] }, { "required": ["sections"] }] } }
|
|
3133
|
+
]
|
|
3134
|
+
}
|
|
3135
|
+
},
|
|
3136
|
+
"publisherPageNodeIdV2": {
|
|
3137
|
+
"title": "Publisher Page Node Id V2",
|
|
3138
|
+
"type": "string",
|
|
3139
|
+
"pattern": "^[A-Za-z0-9_.-]{1,64}$"
|
|
3140
|
+
},
|
|
3141
|
+
"publisherPageSizeV2": {
|
|
3142
|
+
"title": "Publisher Page Size V2",
|
|
3143
|
+
"type": "string",
|
|
3144
|
+
"enum": ["widescreen"],
|
|
3145
|
+
"description": "The widescreen design canvas is 1920 x 1080 px."
|
|
3146
|
+
},
|
|
3147
|
+
"publisherPageStyleV2": {
|
|
3148
|
+
"title": "Publisher Page Style V2",
|
|
3149
|
+
"type": "object",
|
|
3150
|
+
"additionalProperties": false,
|
|
3151
|
+
"properties": {
|
|
3152
|
+
"background_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3153
|
+
"background_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3154
|
+
"background_image": { "$ref": "#/$global/gaac/publisherImageSourceV2" },
|
|
3155
|
+
"background_image_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3156
|
+
"background_fit": { "type": "string", "enum": ["cover", "contain", "fill", "tile"] },
|
|
3157
|
+
"background_horizontal_align": { "$ref": "#/$global/gaac/publisherHorizontalAlignV2" },
|
|
3158
|
+
"background_vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3159
|
+
"background_offset": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3160
|
+
"background_offset_top": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3161
|
+
"background_offset_right": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3162
|
+
"background_offset_bottom": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3163
|
+
"background_offset_left": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3164
|
+
"padding": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3165
|
+
"padding_top": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3166
|
+
"padding_right": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3167
|
+
"padding_bottom": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3168
|
+
"padding_left": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3169
|
+
"text_style": { "$ref": "#/$global/gaac/publisherTextStyleNameV2" },
|
|
3170
|
+
"text_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3171
|
+
"horizontal_align": { "type": "string", "enum": ["left", "center", "right", "justify"] },
|
|
3172
|
+
"vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3173
|
+
"gap": { "$ref": "#/$global/gaac/publisherGapValueV2" }
|
|
3174
|
+
}
|
|
3175
|
+
},
|
|
3176
|
+
"publisherLayoutNodeV2": {
|
|
3177
|
+
"title": "Publisher Layout Node V2",
|
|
3178
|
+
"description": "A row or column container, or a widget.",
|
|
3179
|
+
"type": "object",
|
|
3180
|
+
"properties": {
|
|
3181
|
+
"type": {
|
|
3182
|
+
"type": "string",
|
|
3183
|
+
"enum": [
|
|
3184
|
+
"row",
|
|
3185
|
+
"column",
|
|
3186
|
+
"title",
|
|
3187
|
+
"heading",
|
|
3188
|
+
"text",
|
|
3189
|
+
"image",
|
|
3190
|
+
"visualization",
|
|
3191
|
+
"takeaway"
|
|
3192
|
+
]
|
|
3193
|
+
}
|
|
3194
|
+
},
|
|
3195
|
+
"required": ["type"],
|
|
3196
|
+
"allOf": [
|
|
3197
|
+
{
|
|
3198
|
+
"if": {
|
|
3199
|
+
"properties": { "type": { "enum": ["row", "column"] } },
|
|
3200
|
+
"required": ["type"]
|
|
3201
|
+
},
|
|
3202
|
+
"then": { "$ref": "#/$defs/publisherContainerV2" }
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
"if": { "properties": { "type": { "const": "title" } }, "required": ["type"] },
|
|
3206
|
+
"then": { "$ref": "#/$defs/publisherTitleWidgetV2" }
|
|
3207
|
+
},
|
|
3208
|
+
{
|
|
3209
|
+
"if": { "properties": { "type": { "const": "heading" } }, "required": ["type"] },
|
|
3210
|
+
"then": { "$ref": "#/$defs/publisherHeadingWidgetV2" }
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"if": { "properties": { "type": { "const": "text" } }, "required": ["type"] },
|
|
3214
|
+
"then": { "$ref": "#/$defs/publisherTextWidgetV2" }
|
|
3215
|
+
},
|
|
3216
|
+
{
|
|
3217
|
+
"if": { "properties": { "type": { "const": "image" } }, "required": ["type"] },
|
|
3218
|
+
"then": { "$ref": "#/$defs/publisherImageWidgetV2" }
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"if": {
|
|
3222
|
+
"properties": { "type": { "const": "visualization" } },
|
|
3223
|
+
"required": ["type"]
|
|
3224
|
+
},
|
|
3225
|
+
"then": { "$ref": "#/$defs/publisherVisualizationWidgetV2" }
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
"if": { "properties": { "type": { "const": "takeaway" } }, "required": ["type"] },
|
|
3229
|
+
"then": { "$ref": "#/$defs/publisherTakeawayWidgetV2" }
|
|
3230
|
+
}
|
|
3231
|
+
]
|
|
3232
|
+
},
|
|
3233
|
+
"publisherDocumentPageV2": {
|
|
3234
|
+
"title": "Publisher Document Page V2",
|
|
3235
|
+
"type": "object",
|
|
3236
|
+
"additionalProperties": false,
|
|
3237
|
+
"description": "A page of a document.",
|
|
3238
|
+
"properties": {
|
|
3239
|
+
"id": {
|
|
3240
|
+
"$ref": "#/$global/gaac/publisherPageNodeIdV2",
|
|
3241
|
+
"description": "Unique within the document."
|
|
3242
|
+
},
|
|
3243
|
+
"visible": {
|
|
3244
|
+
"type": "boolean",
|
|
3245
|
+
"description": "Defaults to true. A hidden page is left out of the viewer, exports and page numbers."
|
|
3246
|
+
},
|
|
3247
|
+
"kind": {
|
|
3248
|
+
"type": "string",
|
|
3249
|
+
"enum": ["cover", "section", "content"],
|
|
3250
|
+
"description": "Editor hint. It does not change how the page renders."
|
|
3251
|
+
},
|
|
3252
|
+
"page_size": { "$ref": "#/$global/gaac/publisherPageSizeV2" },
|
|
3253
|
+
"notes": {
|
|
3254
|
+
"type": "string",
|
|
3255
|
+
"minLength": 1,
|
|
3256
|
+
"description": "Markdown speaker notes, never drawn on the page."
|
|
3257
|
+
},
|
|
3258
|
+
"style": { "$ref": "#/$global/gaac/publisherPageStyleV2" },
|
|
3259
|
+
"layout": {
|
|
3260
|
+
"$ref": "#/$global/gaac/publisherLayoutNodeV2",
|
|
3261
|
+
"description": "Root of the page layout tree."
|
|
3262
|
+
},
|
|
3263
|
+
"filters": {
|
|
3264
|
+
"$ref": "#/$global/gaac/dashboardFilters",
|
|
3265
|
+
"description": "Page filters, applied on top of the document filters."
|
|
3266
|
+
}
|
|
3267
|
+
},
|
|
3268
|
+
"required": ["id", "layout"],
|
|
3269
|
+
"$comment": "The keys are a page body's plus id and visible. JSON Schema cannot extend the closed /gaac/publisherPageBodyV2, so a key added there belongs here too."
|
|
3270
|
+
},
|
|
3271
|
+
"publisherTakeawayGenerationV2": {
|
|
3272
|
+
"title": "Publisher Takeaway Generation V2",
|
|
3273
|
+
"type": "object",
|
|
3274
|
+
"additionalProperties": false,
|
|
3275
|
+
"properties": {
|
|
3276
|
+
"instructions": {
|
|
3277
|
+
"type": "string",
|
|
3278
|
+
"minLength": 1,
|
|
3279
|
+
"description": "Instructions the takeaway is generated with."
|
|
3280
|
+
},
|
|
3281
|
+
"context": {
|
|
3282
|
+
"title": "Publisher Takeaway Context V2",
|
|
3283
|
+
"type": "object",
|
|
3284
|
+
"additionalProperties": false,
|
|
3285
|
+
"properties": {
|
|
3286
|
+
"widgets": {
|
|
3287
|
+
"type": "array",
|
|
3288
|
+
"description": "Ids of the widgets on this page the takeaway is generated from.",
|
|
3289
|
+
"items": { "$ref": "#/$global/gaac/publisherPageNodeIdV2" }
|
|
3290
|
+
},
|
|
3291
|
+
"page_title": { "type": "boolean" },
|
|
3292
|
+
"filters": { "type": "boolean" },
|
|
3293
|
+
"other_pages": { "type": "boolean" }
|
|
3294
|
+
}
|
|
3295
|
+
}
|
|
3296
|
+
}
|
|
3297
|
+
},
|
|
3298
|
+
"publisherColorValueV2": {
|
|
3299
|
+
"title": "Publisher Color Value V2",
|
|
3300
|
+
"type": "string",
|
|
3301
|
+
"pattern": "^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|rgb\\(\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*,\\s*\\d{1,3}\\s*(,\\s*\\d*\\.?\\d+\\s*)?\\)|\\{theme\\.(colors\\.(backgrounds|texts|lines)\\.[A-Za-z0-9_-]+|palette\\.(primary|success|error|warning))\\})$",
|
|
3302
|
+
"description": "A theme color reference such as {theme.palette.primary}, or #rgb, #rrggbb, #rrggbbaa, or rgb() with 3 or 4 arguments."
|
|
3303
|
+
},
|
|
3304
|
+
"publisherOpacityV2": {
|
|
3305
|
+
"title": "Publisher Opacity V2",
|
|
3306
|
+
"type": "number",
|
|
3307
|
+
"minimum": 0,
|
|
3308
|
+
"maximum": 1
|
|
3309
|
+
},
|
|
3310
|
+
"publisherImageSourceV2": {
|
|
3311
|
+
"title": "Publisher Image Source V2",
|
|
3312
|
+
"type": "string",
|
|
3313
|
+
"pattern": "^(\\{theme\\.(logo|coverImage|assets\\.(logos|images)\\.[A-Za-z0-9_-]+)\\}|https://\\S+)$",
|
|
3314
|
+
"description": "A theme image reference such as {theme.logo}, or an https URL, which may contain text variables."
|
|
3315
|
+
},
|
|
3316
|
+
"publisherHorizontalAlignV2": {
|
|
3317
|
+
"title": "Publisher Horizontal Align V2",
|
|
3318
|
+
"type": "string",
|
|
3319
|
+
"enum": ["left", "center", "right"]
|
|
3320
|
+
},
|
|
3321
|
+
"publisherVerticalAlignV2": {
|
|
3322
|
+
"title": "Publisher Vertical Align V2",
|
|
3323
|
+
"type": "string",
|
|
3324
|
+
"enum": ["top", "center", "bottom"]
|
|
3325
|
+
},
|
|
3326
|
+
"publisherPxV2": {
|
|
3327
|
+
"title": "Publisher Px V2",
|
|
3328
|
+
"type": "number",
|
|
3329
|
+
"minimum": 0,
|
|
3330
|
+
"description": "Pixels on the page's design canvas (1920 x 1080 for widescreen)."
|
|
3331
|
+
},
|
|
3332
|
+
"publisherGapValueV2": {
|
|
3333
|
+
"title": "Publisher Gap Value V2",
|
|
3334
|
+
"description": "Space between children, in pixels or as a theme spacing reference.",
|
|
3335
|
+
"oneOf": [
|
|
3336
|
+
{ "type": "number", "minimum": 0 },
|
|
3337
|
+
{
|
|
3338
|
+
"type": "string",
|
|
3339
|
+
"enum": [
|
|
3340
|
+
"{theme.spacing.gap.compact}",
|
|
3341
|
+
"{theme.spacing.gap.normal}",
|
|
3342
|
+
"{theme.spacing.gap.spacious}"
|
|
3343
|
+
]
|
|
3344
|
+
}
|
|
3345
|
+
]
|
|
3346
|
+
},
|
|
3347
|
+
"publisherDocumentDefaultsV2": {
|
|
3348
|
+
"title": "Publisher Document Defaults V2",
|
|
3349
|
+
"type": "object",
|
|
3350
|
+
"additionalProperties": false,
|
|
3351
|
+
"properties": {
|
|
3352
|
+
"page_size": {
|
|
3353
|
+
"$ref": "#/$global/gaac/publisherPageSizeV2",
|
|
3354
|
+
"description": "Applies to every page without its own page_size."
|
|
3355
|
+
},
|
|
3356
|
+
"takeaway": {
|
|
3357
|
+
"title": "Publisher Document Takeaway Defaults V2",
|
|
3358
|
+
"type": "object",
|
|
3359
|
+
"additionalProperties": false,
|
|
3360
|
+
"properties": {
|
|
3361
|
+
"generation": {
|
|
3362
|
+
"$ref": "#/$global/gaac/publisherTakeawayGenerationV2",
|
|
3363
|
+
"description": "Combined with each takeaway widget's own generation."
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
},
|
|
3367
|
+
"period": {
|
|
3368
|
+
"$ref": "#/$global/gaac/publisherPeriodV2",
|
|
3369
|
+
"description": "Document templates only: the period a document created from the template starts with."
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
"publisherDocumentStyleV2": {
|
|
3374
|
+
"title": "Publisher Document Style V2",
|
|
3375
|
+
"type": "object",
|
|
3376
|
+
"additionalProperties": false,
|
|
3377
|
+
"description": "Style of the area behind the pages. Exports ignore it.",
|
|
3378
|
+
"properties": {
|
|
3379
|
+
"background_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3380
|
+
"background_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3381
|
+
"background_image": { "$ref": "#/$global/gaac/publisherImageSourceV2" },
|
|
3382
|
+
"background_image_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3383
|
+
"background_fit": { "type": "string", "enum": ["cover", "contain", "fill", "tile"] },
|
|
3384
|
+
"background_horizontal_align": { "$ref": "#/$global/gaac/publisherHorizontalAlignV2" },
|
|
3385
|
+
"background_vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3386
|
+
"background_offset": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3387
|
+
"background_offset_top": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3388
|
+
"background_offset_right": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3389
|
+
"background_offset_bottom": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3390
|
+
"background_offset_left": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3391
|
+
"gap": {
|
|
3392
|
+
"$ref": "#/$global/gaac/publisherGapValueV2",
|
|
3393
|
+
"description": "Space between pages in the viewer and the editor."
|
|
3394
|
+
}
|
|
3395
|
+
}
|
|
3396
|
+
},
|
|
3397
|
+
"publisherSectionV2": {
|
|
3398
|
+
"title": "Publisher Section V2",
|
|
3399
|
+
"type": "object",
|
|
3400
|
+
"additionalProperties": false,
|
|
3401
|
+
"description": "A named group of pages.",
|
|
3402
|
+
"properties": {
|
|
3403
|
+
"id": {
|
|
3404
|
+
"$ref": "#/$global/gaac/publisherPageNodeIdV2",
|
|
3405
|
+
"description": "Unique within the document."
|
|
3406
|
+
},
|
|
3407
|
+
"title": { "type": "string", "minLength": 1 },
|
|
3408
|
+
"description": { "type": "string", "minLength": 1 },
|
|
3409
|
+
"pages": {
|
|
3410
|
+
"type": "array",
|
|
3411
|
+
"items": { "$ref": "#/$global/gaac/publisherDocumentPageV2" }
|
|
3412
|
+
}
|
|
3413
|
+
},
|
|
3414
|
+
"required": ["id", "pages"]
|
|
3415
|
+
},
|
|
3416
|
+
"publisherPaddingValueV2": {
|
|
3417
|
+
"title": "Publisher Padding Value V2",
|
|
3418
|
+
"description": "Inner spacing, in pixels or as a theme spacing reference.",
|
|
3419
|
+
"oneOf": [
|
|
3420
|
+
{ "type": "number", "minimum": 0 },
|
|
3421
|
+
{
|
|
3422
|
+
"type": "string",
|
|
3423
|
+
"enum": [
|
|
3424
|
+
"{theme.spacing.padding.compact}",
|
|
3425
|
+
"{theme.spacing.padding.normal}",
|
|
3426
|
+
"{theme.spacing.padding.spacious}"
|
|
3427
|
+
]
|
|
3428
|
+
}
|
|
3429
|
+
]
|
|
3430
|
+
},
|
|
3431
|
+
"publisherTextStyleNameV2": {
|
|
3432
|
+
"title": "Publisher Text Style Name V2",
|
|
3433
|
+
"type": "string",
|
|
3434
|
+
"enum": ["title", "h1", "h2", "h3", "h4", "h5", "h6", "largeText", "normalText", "smallText"],
|
|
3435
|
+
"description": "Named text style from the theme."
|
|
3436
|
+
},
|
|
3437
|
+
"publisherBorderLineStyleV2": {
|
|
3438
|
+
"title": "Publisher Border Line Style V2",
|
|
3439
|
+
"type": "string",
|
|
3440
|
+
"enum": ["solid", "dashed", "dotted", "none"]
|
|
3441
|
+
},
|
|
3442
|
+
"publisherRadiusValueV2": {
|
|
3443
|
+
"title": "Publisher Radius Value V2",
|
|
3444
|
+
"description": "Corner radius, in pixels or as a theme corner reference.",
|
|
3445
|
+
"oneOf": [
|
|
3446
|
+
{ "type": "number", "minimum": 0 },
|
|
3447
|
+
{
|
|
3448
|
+
"type": "string",
|
|
3449
|
+
"enum": [
|
|
3450
|
+
"{theme.corners.small}",
|
|
3451
|
+
"{theme.corners.medium}",
|
|
3452
|
+
"{theme.corners.large}",
|
|
3453
|
+
"{theme.corners.full}"
|
|
3454
|
+
]
|
|
3455
|
+
}
|
|
3456
|
+
]
|
|
3457
|
+
},
|
|
3458
|
+
"publisherShadowValueV2": {
|
|
3459
|
+
"title": "Publisher Shadow Value V2",
|
|
3460
|
+
"type": "string",
|
|
3461
|
+
"pattern": "^(none|\\{theme\\.shadows\\.[A-Za-z0-9_-]+\\})$",
|
|
3462
|
+
"description": "\"none\" or a {theme.shadows.<name>} reference."
|
|
3463
|
+
},
|
|
3464
|
+
"publisherTextStyleV2": {
|
|
3465
|
+
"title": "Publisher Text Style V2",
|
|
3466
|
+
"type": "object",
|
|
3467
|
+
"additionalProperties": false,
|
|
3468
|
+
"properties": {
|
|
3469
|
+
"text_style": { "$ref": "#/$global/gaac/publisherTextStyleNameV2" },
|
|
3470
|
+
"text_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3471
|
+
"horizontal_align": { "type": "string", "enum": ["left", "center", "right", "justify"] },
|
|
3472
|
+
"vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3473
|
+
"font_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3474
|
+
"font_weight": { "type": "number", "minimum": 1, "maximum": 1000 },
|
|
3475
|
+
"font_style": { "type": "string", "enum": ["normal", "italic"] },
|
|
3476
|
+
"line_height": { "type": "number" },
|
|
3477
|
+
"letter_spacing": { "type": "number" },
|
|
3478
|
+
"text_transform": {
|
|
3479
|
+
"type": "string",
|
|
3480
|
+
"enum": ["none", "uppercase", "lowercase", "capitalize"]
|
|
3481
|
+
},
|
|
3482
|
+
"text_overflow": { "type": "string", "enum": ["shrink", "clip", "ellipsis"] }
|
|
3483
|
+
}
|
|
3484
|
+
},
|
|
3485
|
+
"publisherPageProportionV2": {
|
|
3486
|
+
"title": "Publisher Page Proportion V2",
|
|
3487
|
+
"type": "number",
|
|
3488
|
+
"exclusiveMinimum": 0,
|
|
3489
|
+
"description": "Share of the parent container this node takes, relative to its siblings. Defaults to 1."
|
|
3490
|
+
},
|
|
3491
|
+
"publisherWidgetPlaceholderV2": {
|
|
3492
|
+
"title": "Publisher Widget Placeholder V2",
|
|
2872
3493
|
"type": "object",
|
|
3494
|
+
"additionalProperties": false,
|
|
2873
3495
|
"properties": {
|
|
2874
|
-
"
|
|
2875
|
-
|
|
2876
|
-
|
|
3496
|
+
"hint": {
|
|
3497
|
+
"type": "string",
|
|
3498
|
+
"minLength": 1,
|
|
3499
|
+
"description": "Authoring hint shown in the empty widget."
|
|
3500
|
+
},
|
|
3501
|
+
"required": { "type": "boolean" }
|
|
2877
3502
|
}
|
|
2878
3503
|
},
|
|
2879
|
-
"
|
|
2880
|
-
"title": "
|
|
2881
|
-
"
|
|
2882
|
-
"
|
|
2883
|
-
"
|
|
2884
|
-
|
|
3504
|
+
"publisherTextWidgetStyleV2": {
|
|
3505
|
+
"title": "Publisher Text Widget Style V2",
|
|
3506
|
+
"type": "object",
|
|
3507
|
+
"additionalProperties": false,
|
|
3508
|
+
"properties": {
|
|
3509
|
+
"background_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3510
|
+
"background_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3511
|
+
"background_image": { "$ref": "#/$global/gaac/publisherImageSourceV2" },
|
|
3512
|
+
"background_image_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3513
|
+
"background_fit": { "type": "string", "enum": ["cover", "contain", "fill", "tile"] },
|
|
3514
|
+
"background_horizontal_align": { "$ref": "#/$global/gaac/publisherHorizontalAlignV2" },
|
|
3515
|
+
"background_vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3516
|
+
"background_offset": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3517
|
+
"background_offset_top": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3518
|
+
"background_offset_right": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3519
|
+
"background_offset_bottom": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3520
|
+
"background_offset_left": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3521
|
+
"padding": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3522
|
+
"padding_top": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3523
|
+
"padding_right": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3524
|
+
"padding_bottom": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3525
|
+
"padding_left": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3526
|
+
"border_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3527
|
+
"border_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3528
|
+
"border_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3529
|
+
"border_top_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3530
|
+
"border_top_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3531
|
+
"border_top_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3532
|
+
"border_right_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3533
|
+
"border_right_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3534
|
+
"border_right_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3535
|
+
"border_bottom_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3536
|
+
"border_bottom_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3537
|
+
"border_bottom_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3538
|
+
"border_left_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3539
|
+
"border_left_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3540
|
+
"border_left_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3541
|
+
"border_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3542
|
+
"border_top_left_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3543
|
+
"border_top_right_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3544
|
+
"border_bottom_right_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3545
|
+
"border_bottom_left_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3546
|
+
"shadow": { "$ref": "#/$global/gaac/publisherShadowValueV2" },
|
|
3547
|
+
"shadow_x": { "type": "number" },
|
|
3548
|
+
"shadow_y": { "type": "number" },
|
|
3549
|
+
"shadow_blur": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3550
|
+
"shadow_spread": { "type": "number" },
|
|
3551
|
+
"shadow_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3552
|
+
"shadow_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3553
|
+
"opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3554
|
+
"text_style": { "$ref": "#/$global/gaac/publisherTextStyleNameV2" },
|
|
3555
|
+
"text_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3556
|
+
"horizontal_align": { "type": "string", "enum": ["left", "center", "right", "justify"] },
|
|
3557
|
+
"vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3558
|
+
"font_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3559
|
+
"font_weight": { "type": "number", "minimum": 1, "maximum": 1000 },
|
|
3560
|
+
"font_style": { "type": "string", "enum": ["normal", "italic"] },
|
|
3561
|
+
"line_height": { "type": "number" },
|
|
3562
|
+
"letter_spacing": { "type": "number" },
|
|
3563
|
+
"text_transform": {
|
|
3564
|
+
"type": "string",
|
|
3565
|
+
"enum": ["none", "uppercase", "lowercase", "capitalize"]
|
|
3566
|
+
},
|
|
3567
|
+
"text_overflow": { "type": "string", "enum": ["shrink", "clip", "ellipsis"] }
|
|
3568
|
+
}
|
|
2885
3569
|
},
|
|
2886
|
-
"
|
|
2887
|
-
"title": "
|
|
2888
|
-
"
|
|
2889
|
-
"
|
|
2890
|
-
"
|
|
2891
|
-
|
|
3570
|
+
"publisherImageWidgetStyleV2": {
|
|
3571
|
+
"title": "Publisher Image Widget Style V2",
|
|
3572
|
+
"type": "object",
|
|
3573
|
+
"additionalProperties": false,
|
|
3574
|
+
"properties": {
|
|
3575
|
+
"background_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3576
|
+
"background_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3577
|
+
"background_image": { "$ref": "#/$global/gaac/publisherImageSourceV2" },
|
|
3578
|
+
"background_image_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3579
|
+
"background_fit": { "type": "string", "enum": ["cover", "contain", "fill", "tile"] },
|
|
3580
|
+
"background_horizontal_align": { "$ref": "#/$global/gaac/publisherHorizontalAlignV2" },
|
|
3581
|
+
"background_vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3582
|
+
"background_offset": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3583
|
+
"background_offset_top": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3584
|
+
"background_offset_right": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3585
|
+
"background_offset_bottom": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3586
|
+
"background_offset_left": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3587
|
+
"padding": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3588
|
+
"padding_top": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3589
|
+
"padding_right": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3590
|
+
"padding_bottom": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3591
|
+
"padding_left": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3592
|
+
"border_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3593
|
+
"border_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3594
|
+
"border_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3595
|
+
"border_top_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3596
|
+
"border_top_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3597
|
+
"border_top_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3598
|
+
"border_right_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3599
|
+
"border_right_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3600
|
+
"border_right_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3601
|
+
"border_bottom_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3602
|
+
"border_bottom_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3603
|
+
"border_bottom_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3604
|
+
"border_left_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3605
|
+
"border_left_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3606
|
+
"border_left_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3607
|
+
"border_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3608
|
+
"border_top_left_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3609
|
+
"border_top_right_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3610
|
+
"border_bottom_right_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3611
|
+
"border_bottom_left_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3612
|
+
"shadow": { "$ref": "#/$global/gaac/publisherShadowValueV2" },
|
|
3613
|
+
"shadow_x": { "type": "number" },
|
|
3614
|
+
"shadow_y": { "type": "number" },
|
|
3615
|
+
"shadow_blur": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3616
|
+
"shadow_spread": { "type": "number" },
|
|
3617
|
+
"shadow_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3618
|
+
"shadow_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3619
|
+
"opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3620
|
+
"fit": { "type": "string", "enum": ["contain", "cover", "fill"] },
|
|
3621
|
+
"horizontal_align": { "$ref": "#/$global/gaac/publisherHorizontalAlignV2" },
|
|
3622
|
+
"vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" }
|
|
3623
|
+
}
|
|
3624
|
+
},
|
|
3625
|
+
"publisherWidgetTitleV2": {
|
|
3626
|
+
"title": "Publisher Widget Title V2",
|
|
3627
|
+
"type": "object",
|
|
3628
|
+
"additionalProperties": false,
|
|
3629
|
+
"properties": {
|
|
3630
|
+
"visible": { "type": "boolean" },
|
|
3631
|
+
"text": { "type": "string", "minLength": 1 },
|
|
3632
|
+
"style": { "$ref": "#/$global/gaac/publisherTextStyleV2" }
|
|
3633
|
+
}
|
|
3634
|
+
},
|
|
3635
|
+
"publisherVisualizationStyleV2": {
|
|
3636
|
+
"title": "Publisher Visualization Style V2",
|
|
3637
|
+
"type": "object",
|
|
3638
|
+
"additionalProperties": false,
|
|
3639
|
+
"properties": {
|
|
3640
|
+
"background_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3641
|
+
"background_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3642
|
+
"background_image": { "$ref": "#/$global/gaac/publisherImageSourceV2" },
|
|
3643
|
+
"background_image_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3644
|
+
"background_fit": { "type": "string", "enum": ["cover", "contain", "fill", "tile"] },
|
|
3645
|
+
"background_horizontal_align": { "$ref": "#/$global/gaac/publisherHorizontalAlignV2" },
|
|
3646
|
+
"background_vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3647
|
+
"background_offset": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3648
|
+
"background_offset_top": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3649
|
+
"background_offset_right": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3650
|
+
"background_offset_bottom": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3651
|
+
"background_offset_left": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3652
|
+
"padding": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3653
|
+
"padding_top": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3654
|
+
"padding_right": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3655
|
+
"padding_bottom": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3656
|
+
"padding_left": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3657
|
+
"border_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3658
|
+
"border_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3659
|
+
"border_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3660
|
+
"border_top_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3661
|
+
"border_top_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3662
|
+
"border_top_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3663
|
+
"border_right_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3664
|
+
"border_right_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3665
|
+
"border_right_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3666
|
+
"border_bottom_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3667
|
+
"border_bottom_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3668
|
+
"border_bottom_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3669
|
+
"border_left_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3670
|
+
"border_left_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3671
|
+
"border_left_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3672
|
+
"border_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3673
|
+
"border_top_left_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3674
|
+
"border_top_right_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3675
|
+
"border_bottom_right_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3676
|
+
"border_bottom_left_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3677
|
+
"shadow": { "$ref": "#/$global/gaac/publisherShadowValueV2" },
|
|
3678
|
+
"shadow_x": { "type": "number" },
|
|
3679
|
+
"shadow_y": { "type": "number" },
|
|
3680
|
+
"shadow_blur": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3681
|
+
"shadow_spread": { "type": "number" },
|
|
3682
|
+
"shadow_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3683
|
+
"shadow_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3684
|
+
"opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3685
|
+
"chart": { "$ref": "#/$defs/publisherChartStyleV2" },
|
|
3686
|
+
"table": { "$ref": "#/$defs/publisherTableStyleV2" },
|
|
3687
|
+
"headline": { "$ref": "#/$defs/publisherHeadlineStyleV2" }
|
|
3688
|
+
}
|
|
3689
|
+
},
|
|
3690
|
+
"publisherContainerStyleV2": {
|
|
3691
|
+
"title": "Publisher Container Style V2",
|
|
3692
|
+
"type": "object",
|
|
3693
|
+
"additionalProperties": false,
|
|
3694
|
+
"properties": {
|
|
3695
|
+
"background_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3696
|
+
"background_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3697
|
+
"background_image": { "$ref": "#/$global/gaac/publisherImageSourceV2" },
|
|
3698
|
+
"background_image_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3699
|
+
"background_fit": { "type": "string", "enum": ["cover", "contain", "fill", "tile"] },
|
|
3700
|
+
"background_horizontal_align": { "$ref": "#/$global/gaac/publisherHorizontalAlignV2" },
|
|
3701
|
+
"background_vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3702
|
+
"background_offset": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3703
|
+
"background_offset_top": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3704
|
+
"background_offset_right": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3705
|
+
"background_offset_bottom": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3706
|
+
"background_offset_left": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3707
|
+
"padding": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3708
|
+
"padding_top": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3709
|
+
"padding_right": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3710
|
+
"padding_bottom": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3711
|
+
"padding_left": { "$ref": "#/$global/gaac/publisherPaddingValueV2" },
|
|
3712
|
+
"border_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3713
|
+
"border_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3714
|
+
"border_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3715
|
+
"border_top_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3716
|
+
"border_top_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3717
|
+
"border_top_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3718
|
+
"border_right_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3719
|
+
"border_right_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3720
|
+
"border_right_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3721
|
+
"border_bottom_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3722
|
+
"border_bottom_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3723
|
+
"border_bottom_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3724
|
+
"border_left_width": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3725
|
+
"border_left_style": { "$ref": "#/$global/gaac/publisherBorderLineStyleV2" },
|
|
3726
|
+
"border_left_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3727
|
+
"border_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3728
|
+
"border_top_left_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3729
|
+
"border_top_right_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3730
|
+
"border_bottom_right_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3731
|
+
"border_bottom_left_radius": { "$ref": "#/$global/gaac/publisherRadiusValueV2" },
|
|
3732
|
+
"shadow": { "$ref": "#/$global/gaac/publisherShadowValueV2" },
|
|
3733
|
+
"shadow_x": { "type": "number" },
|
|
3734
|
+
"shadow_y": { "type": "number" },
|
|
3735
|
+
"shadow_blur": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
3736
|
+
"shadow_spread": { "type": "number" },
|
|
3737
|
+
"shadow_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3738
|
+
"shadow_opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3739
|
+
"opacity": { "$ref": "#/$global/gaac/publisherOpacityV2" },
|
|
3740
|
+
"text_style": { "$ref": "#/$global/gaac/publisherTextStyleNameV2" },
|
|
3741
|
+
"text_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
3742
|
+
"horizontal_align": { "type": "string", "enum": ["left", "center", "right", "justify"] },
|
|
3743
|
+
"vertical_align": { "$ref": "#/$global/gaac/publisherVerticalAlignV2" },
|
|
3744
|
+
"gap": { "$ref": "#/$global/gaac/publisherGapValueV2" }
|
|
3745
|
+
}
|
|
3746
|
+
},
|
|
3747
|
+
"publisherPageBodyV2": {
|
|
3748
|
+
"title": "Publisher Page Body V2",
|
|
3749
|
+
"type": "object",
|
|
3750
|
+
"additionalProperties": false,
|
|
3751
|
+
"properties": {
|
|
3752
|
+
"kind": {
|
|
3753
|
+
"type": "string",
|
|
3754
|
+
"enum": ["cover", "section", "content"],
|
|
3755
|
+
"description": "Editor hint. It does not change how the page renders."
|
|
3756
|
+
},
|
|
3757
|
+
"page_size": { "$ref": "#/$global/gaac/publisherPageSizeV2" },
|
|
3758
|
+
"notes": {
|
|
3759
|
+
"type": "string",
|
|
3760
|
+
"minLength": 1,
|
|
3761
|
+
"description": "Markdown speaker notes, never drawn on the page."
|
|
3762
|
+
},
|
|
3763
|
+
"style": { "$ref": "#/$global/gaac/publisherPageStyleV2" },
|
|
3764
|
+
"layout": {
|
|
3765
|
+
"$ref": "#/$global/gaac/publisherLayoutNodeV2",
|
|
3766
|
+
"description": "Root of the page layout tree."
|
|
3767
|
+
},
|
|
3768
|
+
"filters": {
|
|
3769
|
+
"$ref": "#/$global/gaac/dashboardFilters",
|
|
3770
|
+
"description": "Page filters, applied on top of the document filters."
|
|
3771
|
+
}
|
|
3772
|
+
},
|
|
3773
|
+
"required": ["layout"]
|
|
2892
3774
|
},
|
|
2893
3775
|
"queryFilters": {
|
|
2894
3776
|
"title": "Query Filters",
|
|
@@ -7127,6 +8009,84 @@
|
|
|
7127
8009
|
},
|
|
7128
8010
|
"required": ["source_column", "data_type", "target"]
|
|
7129
8011
|
},
|
|
8012
|
+
"publisherDocumentV2": {
|
|
8013
|
+
"title": "Publisher Document V2",
|
|
8014
|
+
"type": "object",
|
|
8015
|
+
"additionalProperties": false,
|
|
8016
|
+
"properties": {
|
|
8017
|
+
"id": {
|
|
8018
|
+
"type": "string",
|
|
8019
|
+
"pattern": "^(?!default\\.)(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
8020
|
+
"description": "A unique identifier of the document. Ids starting with default. are reserved.",
|
|
8021
|
+
"$semantic": [
|
|
8022
|
+
{
|
|
8023
|
+
"type": "uniqueness",
|
|
8024
|
+
"source": "document.id",
|
|
8025
|
+
"code": "core.uniqueness.documents.id"
|
|
8026
|
+
},
|
|
8027
|
+
{ "type": "definition", "source": "document.id" }
|
|
8028
|
+
]
|
|
8029
|
+
},
|
|
8030
|
+
"type": { "type": "string", "enum": ["document"] },
|
|
8031
|
+
"version": {
|
|
8032
|
+
"type": "string",
|
|
8033
|
+
"enum": ["2"],
|
|
8034
|
+
"description": "Version of the content format."
|
|
8035
|
+
},
|
|
8036
|
+
"title": { "$ref": "#/$global/gaac/publisherEntityTitleV2" },
|
|
8037
|
+
"description": { "$ref": "#/$global/gaac/publisherEntityDescriptionV2" },
|
|
8038
|
+
"tags": { "$ref": "#/$global/gaac/publisherEntityTagsV2" },
|
|
8039
|
+
"period": { "$ref": "#/$global/gaac/publisherPeriodV2" },
|
|
8040
|
+
"content": { "$ref": "#/$global/gaac/publisherDocumentContentV2" }
|
|
8041
|
+
},
|
|
8042
|
+
"required": ["id", "type", "version", "title", "period", "content"],
|
|
8043
|
+
"$semantic": { "type": "snippet", "snippets": ["document"] },
|
|
8044
|
+
"not": {
|
|
8045
|
+
"$comment": "Only a document template sets content.defaults.period. Each level states type: object, because a value that is not an object satisfies required and properties, so the rule would also fire on it.",
|
|
8046
|
+
"type": "object",
|
|
8047
|
+
"required": ["content"],
|
|
8048
|
+
"properties": {
|
|
8049
|
+
"content": {
|
|
8050
|
+
"type": "object",
|
|
8051
|
+
"required": ["defaults"],
|
|
8052
|
+
"properties": { "defaults": { "type": "object", "required": ["period"] } }
|
|
8053
|
+
}
|
|
8054
|
+
}
|
|
8055
|
+
}
|
|
8056
|
+
},
|
|
8057
|
+
"publisherDocumentTemplateV2": {
|
|
8058
|
+
"title": "Publisher Document Template V2",
|
|
8059
|
+
"description": "A document created from the template gets a deep copy of its content and keeps no reference back.",
|
|
8060
|
+
"type": "object",
|
|
8061
|
+
"additionalProperties": false,
|
|
8062
|
+
"properties": {
|
|
8063
|
+
"id": {
|
|
8064
|
+
"type": "string",
|
|
8065
|
+
"pattern": "^(?!default\\.)(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
8066
|
+
"description": "A unique identifier of the document template. Ids starting with default. are reserved.",
|
|
8067
|
+
"$semantic": [
|
|
8068
|
+
{
|
|
8069
|
+
"type": "uniqueness",
|
|
8070
|
+
"source": "documentTemplate.id",
|
|
8071
|
+
"code": "core.uniqueness.documentTemplates.id"
|
|
8072
|
+
},
|
|
8073
|
+
{ "type": "definition", "source": "documentTemplate.id" }
|
|
8074
|
+
]
|
|
8075
|
+
},
|
|
8076
|
+
"type": { "type": "string", "enum": ["document_template"] },
|
|
8077
|
+
"version": {
|
|
8078
|
+
"type": "string",
|
|
8079
|
+
"enum": ["2"],
|
|
8080
|
+
"description": "Version of the content format."
|
|
8081
|
+
},
|
|
8082
|
+
"title": { "$ref": "#/$global/gaac/publisherEntityTitleV2" },
|
|
8083
|
+
"description": { "$ref": "#/$global/gaac/publisherEntityDescriptionV2" },
|
|
8084
|
+
"tags": { "$ref": "#/$global/gaac/publisherEntityTagsV2" },
|
|
8085
|
+
"content": { "$ref": "#/$global/gaac/publisherDocumentContentV2" }
|
|
8086
|
+
},
|
|
8087
|
+
"required": ["id", "type", "version", "title", "content"],
|
|
8088
|
+
"$semantic": { "type": "snippet", "snippets": ["document_template"] }
|
|
8089
|
+
},
|
|
7130
8090
|
"metric": {
|
|
7131
8091
|
"title": "Metric",
|
|
7132
8092
|
"type": "object",
|
|
@@ -7172,6 +8132,347 @@
|
|
|
7172
8132
|
"$semantic": { "type": "snippet", "snippets": ["metric"] },
|
|
7173
8133
|
"required": ["id", "type", "maql"]
|
|
7174
8134
|
},
|
|
8135
|
+
"publisherChartStyleV2": {
|
|
8136
|
+
"title": "Publisher Chart Style V2",
|
|
8137
|
+
"type": "object",
|
|
8138
|
+
"additionalProperties": false,
|
|
8139
|
+
"properties": {
|
|
8140
|
+
"font_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
8141
|
+
"text_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8142
|
+
"axis_line_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8143
|
+
"axis_name_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8144
|
+
"axis_name_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
8145
|
+
"axis_value_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8146
|
+
"axis_value_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
8147
|
+
"grid_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8148
|
+
"plot_line_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8149
|
+
"legend_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8150
|
+
"legend_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
8151
|
+
"data_label_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8152
|
+
"data_label_size": { "$ref": "#/$global/gaac/publisherPxV2" }
|
|
8153
|
+
}
|
|
8154
|
+
},
|
|
8155
|
+
"publisherTableStyleV2": {
|
|
8156
|
+
"title": "Publisher Table Style V2",
|
|
8157
|
+
"type": "object",
|
|
8158
|
+
"additionalProperties": false,
|
|
8159
|
+
"properties": {
|
|
8160
|
+
"font_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
8161
|
+
"row_height": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
8162
|
+
"grid_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8163
|
+
"value_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8164
|
+
"null_value_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8165
|
+
"header_label_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8166
|
+
"header_background_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8167
|
+
"total_value_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8168
|
+
"total_background_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8169
|
+
"subtotal_background_color": { "$ref": "#/$global/gaac/publisherColorValueV2" }
|
|
8170
|
+
}
|
|
8171
|
+
},
|
|
8172
|
+
"publisherHeadlineStyleV2": {
|
|
8173
|
+
"title": "Publisher Headline Style V2",
|
|
8174
|
+
"type": "object",
|
|
8175
|
+
"additionalProperties": false,
|
|
8176
|
+
"properties": {
|
|
8177
|
+
"primary_value_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8178
|
+
"primary_value_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
8179
|
+
"secondary_value_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8180
|
+
"secondary_value_size": { "$ref": "#/$global/gaac/publisherPxV2" },
|
|
8181
|
+
"positive_color": { "$ref": "#/$global/gaac/publisherColorValueV2" },
|
|
8182
|
+
"negative_color": { "$ref": "#/$global/gaac/publisherColorValueV2" }
|
|
8183
|
+
}
|
|
8184
|
+
},
|
|
8185
|
+
"publisherAxisDisplayV2": {
|
|
8186
|
+
"title": "Publisher Axis Display V2",
|
|
8187
|
+
"type": "object",
|
|
8188
|
+
"additionalProperties": false,
|
|
8189
|
+
"properties": {
|
|
8190
|
+
"visible": { "type": "boolean" },
|
|
8191
|
+
"name": {
|
|
8192
|
+
"title": "Publisher Axis Name Display V2",
|
|
8193
|
+
"type": "object",
|
|
8194
|
+
"additionalProperties": false,
|
|
8195
|
+
"properties": {
|
|
8196
|
+
"visible": { "type": "boolean" },
|
|
8197
|
+
"position": { "type": "string", "enum": ["low", "middle", "high"] }
|
|
8198
|
+
}
|
|
8199
|
+
},
|
|
8200
|
+
"values": {
|
|
8201
|
+
"title": "Publisher Axis Values Display V2",
|
|
8202
|
+
"type": "object",
|
|
8203
|
+
"additionalProperties": false,
|
|
8204
|
+
"properties": {
|
|
8205
|
+
"visible": { "type": "boolean" },
|
|
8206
|
+
"rotation": { "type": "number", "minimum": -90, "maximum": 90 }
|
|
8207
|
+
}
|
|
8208
|
+
},
|
|
8209
|
+
"min": { "type": "number" },
|
|
8210
|
+
"max": { "type": "number" }
|
|
8211
|
+
}
|
|
8212
|
+
},
|
|
8213
|
+
"publisherVisualizationDisplayV2": {
|
|
8214
|
+
"title": "Publisher Visualization Display V2",
|
|
8215
|
+
"type": "object",
|
|
8216
|
+
"additionalProperties": false,
|
|
8217
|
+
"properties": {
|
|
8218
|
+
"legend": {
|
|
8219
|
+
"title": "Publisher Legend Display V2",
|
|
8220
|
+
"type": "object",
|
|
8221
|
+
"additionalProperties": false,
|
|
8222
|
+
"properties": {
|
|
8223
|
+
"visible": { "type": "boolean" },
|
|
8224
|
+
"position": { "type": "string", "enum": ["auto", "top", "bottom", "left", "right"] }
|
|
8225
|
+
}
|
|
8226
|
+
},
|
|
8227
|
+
"x_axis": { "$ref": "#/$defs/publisherAxisDisplayV2" },
|
|
8228
|
+
"y_axis": { "$ref": "#/$defs/publisherAxisDisplayV2" },
|
|
8229
|
+
"secondary_y_axis": { "$ref": "#/$defs/publisherAxisDisplayV2" },
|
|
8230
|
+
"gridlines": {
|
|
8231
|
+
"title": "Publisher Visibility V2",
|
|
8232
|
+
"type": "object",
|
|
8233
|
+
"additionalProperties": false,
|
|
8234
|
+
"properties": { "visible": { "type": "boolean" } }
|
|
8235
|
+
},
|
|
8236
|
+
"data_labels": {
|
|
8237
|
+
"title": "Publisher Auto Visibility V2",
|
|
8238
|
+
"type": "object",
|
|
8239
|
+
"additionalProperties": false,
|
|
8240
|
+
"properties": {
|
|
8241
|
+
"visible": {
|
|
8242
|
+
"oneOf": [{ "type": "boolean" }, { "type": "string", "enum": ["auto"] }]
|
|
8243
|
+
}
|
|
8244
|
+
}
|
|
8245
|
+
},
|
|
8246
|
+
"data_points": {
|
|
8247
|
+
"title": "Publisher Auto Visibility V2",
|
|
8248
|
+
"type": "object",
|
|
8249
|
+
"additionalProperties": false,
|
|
8250
|
+
"properties": {
|
|
8251
|
+
"visible": {
|
|
8252
|
+
"oneOf": [{ "type": "boolean" }, { "type": "string", "enum": ["auto"] }]
|
|
8253
|
+
}
|
|
8254
|
+
}
|
|
8255
|
+
}
|
|
8256
|
+
}
|
|
8257
|
+
},
|
|
8258
|
+
"publisherContainerV2": {
|
|
8259
|
+
"title": "Publisher Container V2",
|
|
8260
|
+
"type": "object",
|
|
8261
|
+
"additionalProperties": false,
|
|
8262
|
+
"properties": {
|
|
8263
|
+
"type": { "type": "string", "enum": ["row", "column"] },
|
|
8264
|
+
"id": { "$ref": "#/$global/gaac/publisherPageNodeIdV2" },
|
|
8265
|
+
"children": {
|
|
8266
|
+
"type": "array",
|
|
8267
|
+
"description": "Nodes laid out along the container's direction. An empty list renders as a spacer.",
|
|
8268
|
+
"items": { "$ref": "#/$global/gaac/publisherLayoutNodeV2" }
|
|
8269
|
+
},
|
|
8270
|
+
"proportion": { "$ref": "#/$global/gaac/publisherPageProportionV2" },
|
|
8271
|
+
"locked": { "type": "boolean" },
|
|
8272
|
+
"style": { "$ref": "#/$global/gaac/publisherContainerStyleV2" }
|
|
8273
|
+
},
|
|
8274
|
+
"required": ["type", "children"]
|
|
8275
|
+
},
|
|
8276
|
+
"publisherTitleWidgetV2": {
|
|
8277
|
+
"title": "Publisher Title Widget V2",
|
|
8278
|
+
"type": "object",
|
|
8279
|
+
"additionalProperties": false,
|
|
8280
|
+
"description": "The page title. At most one per page.",
|
|
8281
|
+
"properties": {
|
|
8282
|
+
"type": { "type": "string", "enum": ["title"] },
|
|
8283
|
+
"id": {
|
|
8284
|
+
"$ref": "#/$global/gaac/publisherPageNodeIdV2",
|
|
8285
|
+
"description": "Unique within the page."
|
|
8286
|
+
},
|
|
8287
|
+
"proportion": { "$ref": "#/$global/gaac/publisherPageProportionV2" },
|
|
8288
|
+
"placeholder": { "$ref": "#/$global/gaac/publisherWidgetPlaceholderV2" },
|
|
8289
|
+
"locked": { "type": "boolean" },
|
|
8290
|
+
"markdown": {
|
|
8291
|
+
"type": "string",
|
|
8292
|
+
"minLength": 1,
|
|
8293
|
+
"description": "Inline markdown only: strong, emphasis, highlight, strike, links and line breaks."
|
|
8294
|
+
},
|
|
8295
|
+
"style": { "$ref": "#/$global/gaac/publisherTextWidgetStyleV2" }
|
|
8296
|
+
},
|
|
8297
|
+
"required": ["type", "id"]
|
|
8298
|
+
},
|
|
8299
|
+
"publisherHeadingWidgetV2": {
|
|
8300
|
+
"title": "Publisher Heading Widget V2",
|
|
8301
|
+
"type": "object",
|
|
8302
|
+
"additionalProperties": false,
|
|
8303
|
+
"properties": {
|
|
8304
|
+
"type": { "type": "string", "enum": ["heading"] },
|
|
8305
|
+
"id": {
|
|
8306
|
+
"$ref": "#/$global/gaac/publisherPageNodeIdV2",
|
|
8307
|
+
"description": "Unique within the page."
|
|
8308
|
+
},
|
|
8309
|
+
"proportion": { "$ref": "#/$global/gaac/publisherPageProportionV2" },
|
|
8310
|
+
"placeholder": { "$ref": "#/$global/gaac/publisherWidgetPlaceholderV2" },
|
|
8311
|
+
"locked": { "type": "boolean" },
|
|
8312
|
+
"markdown": { "type": "string", "minLength": 1, "description": "Inline markdown only." },
|
|
8313
|
+
"level": { "type": "integer", "enum": [1, 2, 3, 4, 5, 6], "description": "Defaults to 1." },
|
|
8314
|
+
"style": { "$ref": "#/$global/gaac/publisherTextWidgetStyleV2" }
|
|
8315
|
+
},
|
|
8316
|
+
"required": ["type", "id"]
|
|
8317
|
+
},
|
|
8318
|
+
"publisherTextWidgetV2": {
|
|
8319
|
+
"title": "Publisher Text Widget V2",
|
|
8320
|
+
"type": "object",
|
|
8321
|
+
"additionalProperties": false,
|
|
8322
|
+
"properties": {
|
|
8323
|
+
"type": { "type": "string", "enum": ["text"] },
|
|
8324
|
+
"id": {
|
|
8325
|
+
"$ref": "#/$global/gaac/publisherPageNodeIdV2",
|
|
8326
|
+
"description": "Unique within the page."
|
|
8327
|
+
},
|
|
8328
|
+
"proportion": { "$ref": "#/$global/gaac/publisherPageProportionV2" },
|
|
8329
|
+
"placeholder": { "$ref": "#/$global/gaac/publisherWidgetPlaceholderV2" },
|
|
8330
|
+
"locked": { "type": "boolean" },
|
|
8331
|
+
"markdown": {
|
|
8332
|
+
"type": "string",
|
|
8333
|
+
"minLength": 1,
|
|
8334
|
+
"description": "Full markdown: paragraphs, lists, quotes and headings."
|
|
8335
|
+
},
|
|
8336
|
+
"decorative": {
|
|
8337
|
+
"type": "boolean",
|
|
8338
|
+
"description": "Page furniture such as page numbers: kept out of the accessibility tree, PDF tags and AI context."
|
|
8339
|
+
},
|
|
8340
|
+
"style": { "$ref": "#/$global/gaac/publisherTextWidgetStyleV2" }
|
|
8341
|
+
},
|
|
8342
|
+
"required": ["type", "id"]
|
|
8343
|
+
},
|
|
8344
|
+
"publisherImageWidgetV2": {
|
|
8345
|
+
"title": "Publisher Image Widget V2",
|
|
8346
|
+
"type": "object",
|
|
8347
|
+
"additionalProperties": false,
|
|
8348
|
+
"properties": {
|
|
8349
|
+
"type": { "type": "string", "enum": ["image"] },
|
|
8350
|
+
"id": {
|
|
8351
|
+
"$ref": "#/$global/gaac/publisherPageNodeIdV2",
|
|
8352
|
+
"description": "Unique within the page."
|
|
8353
|
+
},
|
|
8354
|
+
"proportion": { "$ref": "#/$global/gaac/publisherPageProportionV2" },
|
|
8355
|
+
"placeholder": { "$ref": "#/$global/gaac/publisherWidgetPlaceholderV2" },
|
|
8356
|
+
"locked": { "type": "boolean" },
|
|
8357
|
+
"source": { "$ref": "#/$global/gaac/publisherImageSourceV2" },
|
|
8358
|
+
"alt_text": { "type": "string", "minLength": 1 },
|
|
8359
|
+
"decorative": { "type": "boolean", "description": "A decorative image needs no alt text." },
|
|
8360
|
+
"style": { "$ref": "#/$global/gaac/publisherImageWidgetStyleV2" }
|
|
8361
|
+
},
|
|
8362
|
+
"required": ["type", "id"]
|
|
8363
|
+
},
|
|
8364
|
+
"publisherVisualizationWidgetV2": {
|
|
8365
|
+
"title": "Publisher Visualization Widget V2",
|
|
8366
|
+
"type": "object",
|
|
8367
|
+
"additionalProperties": false,
|
|
8368
|
+
"properties": {
|
|
8369
|
+
"type": { "type": "string", "enum": ["visualization"] },
|
|
8370
|
+
"id": {
|
|
8371
|
+
"$ref": "#/$global/gaac/publisherPageNodeIdV2",
|
|
8372
|
+
"description": "Unique within the page."
|
|
8373
|
+
},
|
|
8374
|
+
"proportion": { "$ref": "#/$global/gaac/publisherPageProportionV2" },
|
|
8375
|
+
"placeholder": { "$ref": "#/$global/gaac/publisherWidgetPlaceholderV2" },
|
|
8376
|
+
"locked": { "type": "boolean" },
|
|
8377
|
+
"visualization": {
|
|
8378
|
+
"$ref": "#/$global/gaac/identifier",
|
|
8379
|
+
"description": "An id of the visualization rendered here.",
|
|
8380
|
+
"$semantic": { "type": "reference", "source": "visualisation.id" }
|
|
8381
|
+
},
|
|
8382
|
+
"title": { "$ref": "#/$global/gaac/publisherWidgetTitleV2" },
|
|
8383
|
+
"alt_text": { "type": "string", "minLength": 1 },
|
|
8384
|
+
"date": {
|
|
8385
|
+
"$ref": "#/$global/gaac/identifier",
|
|
8386
|
+
"description": "An id of the date dataset the document period applies to.",
|
|
8387
|
+
"$semantic": { "type": "reference", "source": "dateDataset.id" }
|
|
8388
|
+
},
|
|
8389
|
+
"ignore_document_period": {
|
|
8390
|
+
"type": "boolean",
|
|
8391
|
+
"description": "When true, the document period does not apply here."
|
|
8392
|
+
},
|
|
8393
|
+
"filters": {
|
|
8394
|
+
"$ref": "#/$global/gaac/dashboardFilters",
|
|
8395
|
+
"description": "Filters applied on top of the page and document filters."
|
|
8396
|
+
},
|
|
8397
|
+
"ignored_filters": {
|
|
8398
|
+
"type": "array",
|
|
8399
|
+
"description": "Document filters ignored here.",
|
|
8400
|
+
"items": {
|
|
8401
|
+
"type": "string",
|
|
8402
|
+
"pattern": "^(label|computed_attribute|dataset|metric)/(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
8403
|
+
"description": "A type-prefixed id, for example label/region.name, dataset/order_date or metric/revenue.",
|
|
8404
|
+
"$semantic": {
|
|
8405
|
+
"type": "reference",
|
|
8406
|
+
"sources": ["label.id", "computedAttribute.id", "dateDataset.id", "metric.id"],
|
|
8407
|
+
"typePrefix": true
|
|
8408
|
+
}
|
|
8409
|
+
}
|
|
8410
|
+
},
|
|
8411
|
+
"display": { "$ref": "#/$defs/publisherVisualizationDisplayV2" },
|
|
8412
|
+
"style": { "$ref": "#/$global/gaac/publisherVisualizationStyleV2" }
|
|
8413
|
+
},
|
|
8414
|
+
"required": ["type", "id"]
|
|
8415
|
+
},
|
|
8416
|
+
"publisherTakeawayWidgetV2": {
|
|
8417
|
+
"title": "Publisher Takeaway Widget V2",
|
|
8418
|
+
"type": "object",
|
|
8419
|
+
"additionalProperties": false,
|
|
8420
|
+
"description": "Generated or written text about the page.",
|
|
8421
|
+
"properties": {
|
|
8422
|
+
"type": { "type": "string", "enum": ["takeaway"] },
|
|
8423
|
+
"id": {
|
|
8424
|
+
"$ref": "#/$global/gaac/publisherPageNodeIdV2",
|
|
8425
|
+
"description": "Unique within the page."
|
|
8426
|
+
},
|
|
8427
|
+
"proportion": { "$ref": "#/$global/gaac/publisherPageProportionV2" },
|
|
8428
|
+
"placeholder": { "$ref": "#/$global/gaac/publisherWidgetPlaceholderV2" },
|
|
8429
|
+
"locked": { "type": "boolean" },
|
|
8430
|
+
"title": { "$ref": "#/$global/gaac/publisherWidgetTitleV2" },
|
|
8431
|
+
"markdown": {
|
|
8432
|
+
"type": "string",
|
|
8433
|
+
"minLength": 1,
|
|
8434
|
+
"description": "The generated or written text."
|
|
8435
|
+
},
|
|
8436
|
+
"generation": { "$ref": "#/$global/gaac/publisherTakeawayGenerationV2" },
|
|
8437
|
+
"style": { "$ref": "#/$global/gaac/publisherTextWidgetStyleV2" }
|
|
8438
|
+
},
|
|
8439
|
+
"required": ["type", "id"]
|
|
8440
|
+
},
|
|
8441
|
+
"publisherPageTemplateV2": {
|
|
8442
|
+
"title": "Publisher Page Template V2",
|
|
8443
|
+
"type": "object",
|
|
8444
|
+
"additionalProperties": false,
|
|
8445
|
+
"properties": {
|
|
8446
|
+
"id": {
|
|
8447
|
+
"type": "string",
|
|
8448
|
+
"pattern": "^(?!default\\.)(?!\\.)[.A-Za-z0-9_-]{1,255}$",
|
|
8449
|
+
"description": "A unique identifier of the page template. Ids starting with default. are reserved.",
|
|
8450
|
+
"$semantic": [
|
|
8451
|
+
{
|
|
8452
|
+
"type": "uniqueness",
|
|
8453
|
+
"source": "pageTemplate.id",
|
|
8454
|
+
"code": "core.uniqueness.pageTemplates.id"
|
|
8455
|
+
},
|
|
8456
|
+
{ "type": "definition", "source": "pageTemplate.id" }
|
|
8457
|
+
]
|
|
8458
|
+
},
|
|
8459
|
+
"type": { "type": "string", "enum": ["page_template"] },
|
|
8460
|
+
"version": {
|
|
8461
|
+
"type": "string",
|
|
8462
|
+
"enum": ["2"],
|
|
8463
|
+
"description": "Version of the content format."
|
|
8464
|
+
},
|
|
8465
|
+
"title": { "$ref": "#/$global/gaac/publisherEntityTitleV2" },
|
|
8466
|
+
"description": { "$ref": "#/$global/gaac/publisherEntityDescriptionV2" },
|
|
8467
|
+
"tags": { "$ref": "#/$global/gaac/publisherEntityTagsV2" },
|
|
8468
|
+
"content": {
|
|
8469
|
+
"$ref": "#/$global/gaac/publisherPageBodyV2",
|
|
8470
|
+
"description": "Copied into a document, with a page id added, when the template is used."
|
|
8471
|
+
}
|
|
8472
|
+
},
|
|
8473
|
+
"required": ["id", "type", "version", "title", "content"],
|
|
8474
|
+
"$semantic": { "type": "snippet", "snippets": ["page_template"] }
|
|
8475
|
+
},
|
|
7175
8476
|
"parameter": {
|
|
7176
8477
|
"title": "Parameter",
|
|
7177
8478
|
"type": "object",
|