addedInput schema / properties / items / items / properties / add
Added value: +{
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "after": {
+ "description": "section (ou canevas) qui reçoit le bloc",
+ "pattern": "^@[0-9a-z]+$",
+ "type": "string"
+ },
+ "before": {
+ "description": "section (ou canevas) qui reçoit le bloc",
+ "pattern": "^@[0-9a-z]+$",
+ "type": "string"
+ },
+ "block": {
+ "additionalProperties": true,
+ "properties": {
+ "content": {
+ "description": "text/button : HTML inline échappé ; image : URL (externe = importée dans la galerie) ; video : URL",
+ "type": "string"
+ },
+ "custom": {
+ "additionalProperties": true,
+ "properties": {
+ "alt": {
+ "type": "string"
+ },
+ "animation": {
+ "additionalProperties": false,
+ "properties": {
+ "delay": {
+ "description": "secondes",
+ "maximum": 30,
+ "minimum": 0,
+ "type": "number"
+ },
+ "duration": {
+ "description": "secondes",
+ "maximum": 60,
+ "minimum": 0,
+ "type": "number"
+ },
+ "repeat": {
+ "description": "rejouer à chaque retour dans la fenêtre",
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "fondu",
+ "glisse-haut",
+ "glisse-bas",
+ "glisse-gauche",
+ "glisse-droite",
+ "zoom",
+ "rebond",
+ "rotation",
+ "flou",
+ "machine",
+ "balayage",
+ "basculer",
+ "entree",
+ "apparait",
+ "pop",
+ "devoile-gauche",
+ "devoile-droite",
+ "barre",
+ "deplie",
+ "trace",
+ "kenburns",
+ "flottement",
+ "pulsation",
+ "orbite",
+ "tourne"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "composant": {
+ "type": "string"
+ },
+ "donnees": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "hover": {
+ "enum": [
+ "lift",
+ "zoom",
+ "glow",
+ "underline",
+ "fade"
+ ],
+ "type": "string"
+ },
+ "href": {
+ "type": "string"
+ },
+ "target": {
+ "enum": [
+ "_blank",
+ "_self"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[A-Za-z][\\w-]{0,63}$",
+ "type": "string"
+ },
+ "md": {
+ "additionalProperties": false,
+ "description": "tablette 820 px ; absente = calculée",
+ "properties": {
+ "style": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "style"
+ ],
+ "type": "object"
+ },
+ "sm": {
+ "additionalProperties": false,
+ "description": "téléphone 390 px ; absente = calculée",
+ "properties": {
+ "style": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "style"
+ ],
+ "type": "object"
+ },
+ "style": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "description": "CSS camelCase, nombres en px, bureau 1600 de large : width et height requis, left, top (absent = sous le contenu), fontSize, color, backgroundColor…",
+ "type": "object"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "button",
+ "image",
+ "shape",
+ "icon",
+ "video",
+ "composant"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ "in": {
+ "description": "section (ou canevas) qui reçoit le bloc",
+ "pattern": "^@[0-9a-z]+$",
+ "type": "string"
+ },
+ "section": {
+ "additionalProperties": true,
+ "properties": {
+ "children": {
+ "default": [],
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "content": {
+ "description": "text/button : HTML inline échappé ; image : URL (externe = importée dans la galerie) ; video : URL",
+ "type": "string"
+ },
+ "custom": {
+ "additionalProperties": true,
+ "properties": {
+ "alt": {
+ "type": "string"
+ },
+ "animation": {
+ "additionalProperties": false,
+ "properties": {
+ "delay": {
+ "description": "secondes",
+ "maximum": 30,
+ "minimum": 0,
+ "type": "number"
+ },
+ "duration": {
+ "description": "secondes",
+ "maximum": 60,
+ "minimum": 0,
+ "type": "number"
+ },
+ "repeat": {
+ "description": "rejouer à chaque retour dans la fenêtre",
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "fondu",
+ "glisse-haut",
+ "glisse-bas",
+ "glisse-gauche",
+ "glisse-droite",
+ "zoom",
+ "rebond",
+ "rotation",
+ "flou",
+ "machine",
+ "balayage",
+ "basculer",
+ "entree",
+ "apparait",
+ "pop",
+ "devoile-gauche",
+ "devoile-droite",
+ "barre",
+ "deplie",
+ "trace",
+ "kenburns",
+ "flottement",
+ "pulsation",
+ "orbite",
+ "tourne"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "composant": {
+ "type": "string"
+ },
+ "donnees": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "hover": {
+ "enum": [
+ "lift",
+ "zoom",
+ "glow",
+ "underline",
+ "fade"
+ ],
+ "type": "string"
+ },
+ "href": {
+ "type": "string"
+ },
+ "target": {
+ "enum": [
+ "_blank",
+ "_self"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "id": {
+ "pattern": "^[A-Za-z][\\w-]{0,63}$",
+ "type": "string"
+ },
+ "md": {
+ "additionalProperties": false,
+ "description": "tablette 820 px ; absente = calculée",
+ "properties": {
+ "style": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "style"
+ ],
+ "type": "object"
+ },
+ "sm": {
+ "additionalProperties": false,
+ "description": "téléphone 390 px ; absente = calculée",
+ "properties": {
+ "style": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "style"
+ ],
+ "type": "object"
+ },
+ "style": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "description": "CSS camelCase, nombres en px, bureau 1600 de large : width et height requis, left, top (absent = sous le contenu), fontSize, color, backgroundColor…",
+ "type": "object"
+ },
+ "type": {
+ "enum": [
+ "text",
+ "button",
+ "image",
+ "shape",
+ "icon",
+ "video",
+ "composant"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ "maxItems": 300,
+ "type": "array"
+ },
+ "custom": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "height": {
+ "description": "hauteur bureau ; défaut : sous le dernier bloc + 64",
+ "maximum": 20000,
+ "minimum": 1,
+ "type": "number"
+ },
+ "id": {
+ "pattern": "^[A-Za-z][\\w-]{0,63}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 120,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "description": "backgroundColor, backgroundImage, backgroundSize, backgroundPosition",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+}