UNPKG

@antv/narrative-text-schema

Version:

Json schema of narrative text visualization

2,464 lines (2,463 loc) 620 kB
{ "$ref": "#/definitions/NarrativeTextSpec", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "BulletItemSpec": { "additionalProperties": false, "properties": { "className": { "type": "string" }, "key": { "type": "string" }, "phrases": { "items": { "$ref": "#/definitions/PhraseSpec" }, "type": "array" }, "styles": { "$ref": "#/definitions/React.CSSProperties" }, "subBullet": { "$ref": "#/definitions/BulletsParagraphSpec" }, "type": { "const": "bullet-item", "type": "string" } }, "required": [ "phrases", "type" ], "type": "object" }, "BulletsParagraphSpec": { "additionalProperties": false, "properties": { "bullets": { "items": { "$ref": "#/definitions/BulletItemSpec" }, "type": "array" }, "className": { "type": "string" }, "isOrder": { "type": "boolean" }, "key": { "type": "string" }, "styles": { "$ref": "#/definitions/React.CSSProperties" }, "type": { "const": "bullets", "type": "string" } }, "required": [ "bullets", "isOrder", "type" ], "type": "object" }, "CustomBlockElement": { "description": "basic block element structure, used for extends", "properties": { "className": { "type": "string" }, "customType": { "type": "string" }, "key": { "type": "string" }, "styles": { "$ref": "#/definitions/React.CSSProperties" } }, "required": [ "customType" ], "type": "object" }, "CustomMetaData": { "additionalProperties": { }, "description": "custom phrase metadata", "properties": { "customType": { "type": "string" } }, "required": [ "customType" ], "type": "object" }, "CustomPhraseSpec<CustomMetaData>": { "additionalProperties": false, "properties": { "className": { "type": "string" }, "key": { "type": "string" }, "metadata": { "$ref": "#/definitions/CustomMetaData" }, "styles": { "$ref": "#/definitions/React.CSSProperties" }, "type": { "const": "custom", "type": "string" }, "value": { "type": "string" } }, "required": [ "type" ], "type": "object" }, "DataType.AbsoluteSize": { "enum": [ "large", "medium", "small", "x-large", "x-small", "xx-large", "xx-small", "xxx-large" ], "type": "string" }, "DataType.AnimateableFeature": { "type": "string" }, "DataType.Attachment": { "enum": [ "fixed", "local", "scroll" ], "type": "string" }, "DataType.BgPosition<(string|number)>": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "const": "bottom", "type": "string" }, { "const": "center", "type": "string" }, { "const": "left", "type": "string" }, { "const": "right", "type": "string" }, { "const": "top", "type": "string" } ] }, "DataType.BgSize<(string|number)>": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "const": "auto", "type": "string" }, { "const": "contain", "type": "string" }, { "const": "cover", "type": "string" } ] }, "DataType.BlendMode": { "enum": [ "color", "color-burn", "color-dodge", "darken", "difference", "exclusion", "hard-light", "hue", "lighten", "luminosity", "multiply", "normal", "overlay", "saturation", "screen", "soft-light" ], "type": "string" }, "DataType.Box": { "enum": [ "border-box", "content-box", "padding-box" ], "type": "string" }, "DataType.Color": { "anyOf": [ { "$ref": "#/definitions/DataType.NamedColor" }, { "$ref": "#/definitions/DataType.DeprecatedSystemColor" }, { "const": "currentcolor", "type": "string" }, { "type": "string" } ] }, "DataType.CompatAuto": { "enum": [ "button", "checkbox", "listbox", "menulist", "meter", "progress-bar", "push-button", "radio", "searchfield", "slider-horizontal", "square-button", "textarea" ], "type": "string" }, "DataType.CompositeStyle": { "enum": [ "clear", "copy", "destination-atop", "destination-in", "destination-out", "destination-over", "source-atop", "source-in", "source-out", "source-over", "xor" ], "type": "string" }, "DataType.CompositingOperator": { "enum": [ "add", "exclude", "intersect", "subtract" ], "type": "string" }, "DataType.ContentDistribution": { "enum": [ "space-around", "space-between", "space-evenly", "stretch" ], "type": "string" }, "DataType.ContentList": { "anyOf": [ { "$ref": "#/definitions/DataType.Quote" }, { "const": "contents", "type": "string" }, { "type": "string" } ] }, "DataType.ContentPosition": { "enum": [ "center", "end", "flex-end", "flex-start", "start" ], "type": "string" }, "DataType.CubicBezierTimingFunction": { "type": "string" }, "DataType.Dasharray<(string|number)>": { "type": [ "string", "number" ] }, "DataType.DeprecatedSystemColor": { "enum": [ "ActiveBorder", "ActiveCaption", "AppWorkspace", "Background", "ButtonFace", "ButtonHighlight", "ButtonShadow", "ButtonText", "CaptionText", "GrayText", "Highlight", "HighlightText", "InactiveBorder", "InactiveCaption", "InactiveCaptionText", "InfoBackground", "InfoText", "Menu", "MenuText", "Scrollbar", "ThreeDDarkShadow", "ThreeDFace", "ThreeDHighlight", "ThreeDLightShadow", "ThreeDShadow", "Window", "WindowFrame", "WindowText" ], "type": "string" }, "DataType.DisplayInside": { "enum": [ "-ms-flexbox", "-ms-grid", "-webkit-flex", "flex", "flow", "flow-root", "grid", "ruby", "table" ], "type": "string" }, "DataType.DisplayInternal": { "enum": [ "ruby-base", "ruby-base-container", "ruby-text", "ruby-text-container", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row", "table-row-group" ], "type": "string" }, "DataType.DisplayLegacy": { "enum": [ "-ms-inline-flexbox", "-ms-inline-grid", "-webkit-inline-flex", "inline-block", "inline-flex", "inline-grid", "inline-list-item", "inline-table" ], "type": "string" }, "DataType.DisplayOutside": { "enum": [ "block", "inline", "run-in" ], "type": "string" }, "DataType.EasingFunction": { "anyOf": [ { "$ref": "#/definitions/DataType.CubicBezierTimingFunction" }, { "$ref": "#/definitions/DataType.StepTimingFunction" }, { "const": "linear", "type": "string" } ] }, "DataType.EastAsianVariantValues": { "enum": [ "jis04", "jis78", "jis83", "jis90", "simplified", "traditional" ], "type": "string" }, "DataType.FinalBgLayer<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/DataType.Color" }, { "$ref": "#/definitions/DataType.BgPosition<(string|number)>" }, { "$ref": "#/definitions/DataType.RepeatStyle" }, { "$ref": "#/definitions/DataType.Attachment" }, { "$ref": "#/definitions/DataType.Box" }, { "const": "none", "type": "string" }, { "type": "string" } ] }, "DataType.FontStretchAbsolute": { "type": "string" }, "DataType.FontWeightAbsolute": { "anyOf": [ { "const": "bold", "type": "string" }, { "const": "normal", "type": "string" }, { "type": "number" }, { "type": "string" } ] }, "DataType.GenericFamily": { "enum": [ "cursive", "fantasy", "monospace", "sans-serif", "serif" ], "type": "string" }, "DataType.GeometryBox": { "anyOf": [ { "$ref": "#/definitions/DataType.Box" }, { "const": "fill-box", "type": "string" }, { "const": "margin-box", "type": "string" }, { "const": "stroke-box", "type": "string" }, { "const": "view-box", "type": "string" } ] }, "DataType.GridLine": { "anyOf": [ { "const": "auto", "type": "string" }, { "type": "string" }, { "type": "number" } ] }, "DataType.LineStyle": { "enum": [ "dashed", "dotted", "double", "groove", "hidden", "inset", "none", "outset", "ridge", "solid" ], "type": "string" }, "DataType.LineWidth<(string|number)>": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "const": "medium", "type": "string" }, { "const": "thick", "type": "string" }, { "const": "thin", "type": "string" } ] }, "DataType.MaskLayer<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/DataType.Position<(string|number)>" }, { "$ref": "#/definitions/DataType.RepeatStyle" }, { "$ref": "#/definitions/DataType.GeometryBox" }, { "$ref": "#/definitions/DataType.CompositingOperator" }, { "$ref": "#/definitions/DataType.MaskingMode" }, { "const": "no-clip", "type": "string" }, { "const": "none", "type": "string" }, { "type": "string" } ] }, "DataType.MaskingMode": { "enum": [ "alpha", "luminance", "match-source" ], "type": "string" }, "DataType.NamedColor": { "enum": [ "aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkgrey", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkslategrey", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dimgrey", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "green", "greenyellow", "grey", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightgrey", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightslategrey", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "slategrey", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "transparent", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen" ], "type": "string" }, "DataType.Paint": { "anyOf": [ { "$ref": "#/definitions/DataType.Color" }, { "const": "child", "type": "string" }, { "const": "context-fill", "type": "string" }, { "const": "context-stroke", "type": "string" }, { "const": "none", "type": "string" }, { "type": "string" } ] }, "DataType.Position<(string|number)>": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "const": "bottom", "type": "string" }, { "const": "center", "type": "string" }, { "const": "left", "type": "string" }, { "const": "right", "type": "string" }, { "const": "top", "type": "string" } ] }, "DataType.Quote": { "enum": [ "close-quote", "no-close-quote", "no-open-quote", "open-quote" ], "type": "string" }, "DataType.RepeatStyle": { "type": "string" }, "DataType.SelfPosition": { "enum": [ "center", "end", "flex-end", "flex-start", "self-end", "self-start", "start" ], "type": "string" }, "DataType.SingleAnimation<string>": { "anyOf": [ { "$ref": "#/definitions/DataType.EasingFunction" }, { "$ref": "#/definitions/DataType.SingleAnimationDirection" }, { "$ref": "#/definitions/DataType.SingleAnimationFillMode" }, { "type": "string" }, { "const": "infinite", "type": "string" }, { "const": "none", "type": "string" }, { "const": "paused", "type": "string" }, { "const": "running", "type": "string" }, { "type": "number" } ] }, "DataType.SingleAnimationDirection": { "enum": [ "alternate", "alternate-reverse", "normal", "reverse" ], "type": "string" }, "DataType.SingleAnimationFillMode": { "enum": [ "backwards", "both", "forwards", "none" ], "type": "string" }, "DataType.SingleAnimationTimeline": { "type": "string" }, "DataType.SingleTransition<string>": { "anyOf": [ { "$ref": "#/definitions/DataType.EasingFunction" }, { "type": "string" }, { "const": "all", "type": "string" }, { "const": "none", "type": "string" } ] }, "DataType.StepTimingFunction": { "type": "string" }, "DataType.TrackBreadth<(string|number)>": { "anyOf": [ { "type": "string" }, { "type": "number" }, { "const": "auto", "type": "string" }, { "const": "max-content", "type": "string" }, { "const": "min-content", "type": "string" } ] }, "DataType.VisualBox": { "enum": [ "border-box", "content-box", "padding-box" ], "type": "string" }, "EntityMetaData": { "additionalProperties": false, "properties": { "assessment": { "$ref": "#/definitions/ValueAssessment", "description": "assessment up or down, used for derived value 衍生指标评估参数,指定上涨或者下跌" }, "detail": { "description": "detail data, 明细数据,用于弹框展示" }, "entityType": { "$ref": "#/definitions/EntityType", "description": "entity type, 实体类型标记" }, "origin": { "description": "original data, 原始数据", "type": "number" }, "sourceId": { "description": "source id of the variable, to access the variable info from variableSourceMap", "type": "string" } }, "required": [ "entityType" ], "type": "object" }, "EntityPhraseSpec": { "additionalProperties": false, "properties": { "className": { "type": "string" }, "key": { "type": "string" }, "metadata": { "$ref": "#/definitions/EntityMetaData" }, "styles": { "$ref": "#/definitions/React.CSSProperties" }, "type": { "const": "entity", "type": "string" }, "value": { "type": "string" } }, "required": [ "type" ], "type": "object" }, "EntityType": { "enum": [ "metric_name", "metric_value", "other_metric_value", "contribute_ratio", "delta_value", "ratio_value", "trend_desc", "dim_value", "time_desc", "proportion" ], "type": "string" }, "Globals": { "enum": [ "-moz-initial", "inherit", "initial", "revert", "revert-layer", "unset" ], "type": "string" }, "HeadingParagraphSpec": { "additionalProperties": false, "properties": { "className": { "type": "string" }, "key": { "type": "string" }, "phrases": { "items": { "$ref": "#/definitions/PhraseSpec" }, "type": "array" }, "styles": { "$ref": "#/definitions/React.CSSProperties" }, "type": { "enum": [ "heading1", "heading2", "heading3", "heading4", "heading5", "heading6" ], "type": "string" } }, "required": [ "phrases", "type" ], "type": "object" }, "HeadlineSpec": { "additionalProperties": false, "properties": { "className": { "type": "string" }, "key": { "type": "string" }, "phrases": { "items": { "$ref": "#/definitions/PhraseSpec" }, "type": "array" }, "styles": { "$ref": "#/definitions/React.CSSProperties" }, "type": { "const": "headline", "type": "string" } }, "required": [ "phrases", "type" ], "type": "object" }, "NarrativeTextSpec": { "additionalProperties": false, "properties": { "className": { "type": "string" }, "headline": { "$ref": "#/definitions/HeadlineSpec" }, "key": { "type": "string" }, "sections": { "items": { "$ref": "#/definitions/SectionSpec" }, "type": "array" }, "styles": { "$ref": "#/definitions/React.CSSProperties" } }, "type": "object" }, "ParagraphSpec": { "anyOf": [ { "$ref": "#/definitions/HeadingParagraphSpec" }, { "$ref": "#/definitions/TextParagraphSpec" }, { "$ref": "#/definitions/BulletsParagraphSpec" }, { "$ref": "#/definitions/CustomBlockElement" } ] }, "PhraseSpec": { "anyOf": [ { "$ref": "#/definitions/TextPhraseSpec" }, { "$ref": "#/definitions/EntityPhraseSpec" }, { "$ref": "#/definitions/CustomPhraseSpec<CustomMetaData>" } ] }, "Property.AccentColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" }, { "const": "auto", "type": "string" } ] }, "Property.AlignContent": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.ContentDistribution" }, { "$ref": "#/definitions/DataType.ContentPosition" }, { "const": "baseline", "type": "string" }, { "const": "normal", "type": "string" }, { "type": "string" } ] }, "Property.AlignItems": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.SelfPosition" }, { "const": "baseline", "type": "string" }, { "const": "normal", "type": "string" }, { "const": "stretch", "type": "string" }, { "type": "string" } ] }, "Property.AlignSelf": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.SelfPosition" }, { "const": "auto", "type": "string" }, { "const": "baseline", "type": "string" }, { "const": "normal", "type": "string" }, { "const": "stretch", "type": "string" }, { "type": "string" } ] }, "Property.AlignTracks": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.ContentDistribution" }, { "$ref": "#/definitions/DataType.ContentPosition" }, { "const": "baseline", "type": "string" }, { "const": "normal", "type": "string" }, { "type": "string" } ] }, "Property.AlignmentBaseline": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "after-edge", "type": "string" }, { "const": "alphabetic", "type": "string" }, { "const": "auto", "type": "string" }, { "const": "baseline", "type": "string" }, { "const": "before-edge", "type": "string" }, { "const": "central", "type": "string" }, { "const": "hanging", "type": "string" }, { "const": "ideographic", "type": "string" }, { "const": "mathematical", "type": "string" }, { "const": "middle", "type": "string" }, { "const": "text-after-edge", "type": "string" }, { "const": "text-before-edge", "type": "string" } ] }, "Property.All": { "$ref": "#/definitions/Globals" }, "Property.Animation<string>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.SingleAnimation<string>" }, { "type": "string" } ] }, "Property.AnimationDelay<string>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" } ] }, "Property.AnimationDirection": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.SingleAnimationDirection" }, { "type": "string" } ] }, "Property.AnimationDuration<string>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" } ] }, "Property.AnimationFillMode": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.SingleAnimationFillMode" }, { "type": "string" } ] }, "Property.AnimationIterationCount": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "infinite", "type": "string" }, { "type": "string" }, { "type": "number" } ] }, "Property.AnimationName": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "none", "type": "string" }, { "type": "string" } ] }, "Property.AnimationPlayState": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "paused", "type": "string" }, { "const": "running", "type": "string" }, { "type": "string" } ] }, "Property.AnimationTimeline": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.SingleAnimationTimeline" }, { "type": "string" } ] }, "Property.AnimationTimingFunction": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.EasingFunction" }, { "type": "string" } ] }, "Property.Appearance": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.CompatAuto" }, { "const": "auto", "type": "string" }, { "const": "menulist-button", "type": "string" }, { "const": "none", "type": "string" }, { "const": "textfield", "type": "string" } ] }, "Property.AspectRatio": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "auto", "type": "string" }, { "type": "string" } ] }, "Property.Azimuth": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "behind", "type": "string" }, { "const": "center", "type": "string" }, { "const": "center-left", "type": "string" }, { "const": "center-right", "type": "string" }, { "const": "far-left", "type": "string" }, { "const": "far-right", "type": "string" }, { "const": "left", "type": "string" }, { "const": "left-side", "type": "string" }, { "const": "leftwards", "type": "string" }, { "const": "right", "type": "string" }, { "const": "right-side", "type": "string" }, { "const": "rightwards", "type": "string" }, { "type": "string" } ] }, "Property.BackdropFilter": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "none", "type": "string" }, { "type": "string" } ] }, "Property.BackfaceVisibility": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "hidden", "type": "string" }, { "const": "visible", "type": "string" } ] }, "Property.Background<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.FinalBgLayer<(string|number)>" }, { "type": "string" } ] }, "Property.BackgroundAttachment": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Attachment" }, { "type": "string" } ] }, "Property.BackgroundBlendMode": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.BlendMode" }, { "type": "string" } ] }, "Property.BackgroundClip": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Box" }, { "type": "string" } ] }, "Property.BackgroundColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" } ] }, "Property.BackgroundImage": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "none", "type": "string" }, { "type": "string" } ] }, "Property.BackgroundOrigin": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Box" }, { "type": "string" } ] }, "Property.BackgroundPosition<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.BgPosition<(string|number)>" }, { "type": "string" } ] }, "Property.BackgroundPositionX<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" }, { "const": "center", "type": "string" }, { "const": "left", "type": "string" }, { "const": "right", "type": "string" }, { "const": "x-end", "type": "string" }, { "const": "x-start", "type": "string" } ] }, "Property.BackgroundPositionY<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" }, { "const": "bottom", "type": "string" }, { "const": "center", "type": "string" }, { "const": "top", "type": "string" }, { "const": "y-end", "type": "string" }, { "const": "y-start", "type": "string" } ] }, "Property.BackgroundRepeat": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.RepeatStyle" }, { "type": "string" } ] }, "Property.BackgroundSize<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.BgSize<(string|number)>" }, { "type": "string" } ] }, "Property.BaselineShift<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" }, { "const": "baseline", "type": "string" }, { "const": "sub", "type": "string" }, { "const": "super", "type": "string" } ] }, "Property.BlockOverflow": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "clip", "type": "string" }, { "const": "ellipsis", "type": "string" }, { "type": "string" } ] }, "Property.BlockSize<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" }, { "const": "-moz-fit-content", "type": "string" }, { "const": "-moz-max-content", "type": "string" }, { "const": "-moz-min-content", "type": "string" }, { "const": "-webkit-fill-available", "type": "string" }, { "const": "auto", "type": "string" }, { "const": "fit-content", "type": "string" }, { "const": "max-content", "type": "string" }, { "const": "min-content", "type": "string" } ] }, "Property.Border<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" }, { "$ref": "#/definitions/DataType.LineStyle" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderBlock<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" }, { "$ref": "#/definitions/DataType.LineStyle" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderBlockColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderBlockEnd<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" }, { "$ref": "#/definitions/DataType.LineStyle" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderBlockEndColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" } ] }, "Property.BorderBlockEndStyle": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineStyle" } ] }, "Property.BorderBlockEndWidth<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" } ] }, "Property.BorderBlockStart<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" }, { "$ref": "#/definitions/DataType.LineStyle" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderBlockStartColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" } ] }, "Property.BorderBlockStartStyle": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineStyle" } ] }, "Property.BorderBlockStartWidth<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" } ] }, "Property.BorderBlockStyle": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineStyle" } ] }, "Property.BorderBlockWidth<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" } ] }, "Property.BorderBottom<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" }, { "$ref": "#/definitions/DataType.LineStyle" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderBottomColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" } ] }, "Property.BorderBottomLeftRadius<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" } ] }, "Property.BorderBottomRightRadius<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" } ] }, "Property.BorderBottomStyle": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineStyle" } ] }, "Property.BorderBottomWidth<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" } ] }, "Property.BorderCollapse": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "collapse", "type": "string" }, { "const": "separate", "type": "string" } ] }, "Property.BorderColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderEndEndRadius<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" } ] }, "Property.BorderEndStartRadius<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" } ] }, "Property.BorderImage": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "none", "type": "string" }, { "const": "repeat", "type": "string" }, { "const": "round", "type": "string" }, { "const": "space", "type": "string" }, { "const": "stretch", "type": "string" }, { "type": "string" }, { "type": "number" } ] }, "Property.BorderImageOutset<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" } ] }, "Property.BorderImageRepeat": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "repeat", "type": "string" }, { "const": "round", "type": "string" }, { "const": "space", "type": "string" }, { "const": "stretch", "type": "string" }, { "type": "string" } ] }, "Property.BorderImageSlice": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" } ] }, "Property.BorderImageSource": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "const": "none", "type": "string" }, { "type": "string" } ] }, "Property.BorderImageWidth<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "type": "string" }, { "type": "number" }, { "const": "auto", "type": "string" } ] }, "Property.BorderInline<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" }, { "$ref": "#/definitions/DataType.LineStyle" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderInlineColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderInlineEnd<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" }, { "$ref": "#/definitions/DataType.LineStyle" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderInlineEndColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" } ] }, "Property.BorderInlineEndStyle": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineStyle" } ] }, "Property.BorderInlineEndWidth<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" } ] }, "Property.BorderInlineStart<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" }, { "$ref": "#/definitions/DataType.LineStyle" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderInlineStartColor": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.Color" } ] }, "Property.BorderInlineStartStyle": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineStyle" } ] }, "Property.BorderInlineStartWidth<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" } ] }, "Property.BorderInlineStyle": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineStyle" } ] }, "Property.BorderInlineWidth<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" } ] }, "Property.BorderLeft<(string|number)>": { "anyOf": [ { "$ref": "#/definitions/Globals" }, { "$ref": "#/definitions/DataType.LineWidth<(string|number)>" }, { "$ref": "#/definitions/DataType.LineStyle" }, { "$ref": "#/definitions/DataType.Color" }, { "type": "string" } ] }, "Property.BorderLeftColor": { "anyOf": [ { "$ref": "#/definitions/Globals" },