Commit a9bb3cd2 authored by Pierre Dureau's avatar Pierre Dureau
Browse files

feat: #3514072 SDC slots can set expectations and cardinality

By: mherchel
By: pdureau
By: larowlan
By: nod_
By: effulgentsia
By: griffynh
By: g4mbini
By: ctrladel
By: lauriii
By: wim leers
By: luke.leber
By: d34dman
By: anmolgoyal74
By: svendecabooter
By: phenaproxima
parent 77f84f7f
Loading
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -40,6 +40,28 @@
              "items": {
                "type": "string"
              }
            },
            "expected": {
              "type": "array",
              "title": "Expected components",
              "description": "List of components / component tags that are expected to be put into this slot.",
              "items": {
                "type": "string",
                "title": "Expected component item",
                "description": "A component ID or tag."
              }
            },
            "minItems": {
              "type": "integer",
              "minimum": 0,
              "title": "Minimum number of items",
              "description": "The minimum number of items a slot should accommodate"
            },
            "maxItems": {
              "type": "integer",
              "minimum": 1,
              "title": "Maximum number of items",
              "description": "The maximum number of items a slot should accommodate"
            }
          }
        }
@@ -191,6 +213,14 @@
    "variants": {
      "$ref": "metadata.schema.json#/$defs/variantDefinition"
    },
    "tags": {
      "type": "array",
      "title": "Tags",
      "description": "A list of tags to apply to this component",
      "items": {
        "type": "string"
      }
    },
    "template": {
      "type": "string",
      "title": "Template",
+30 −0
Original line number Diff line number Diff line
@@ -40,6 +40,28 @@
              "items": {
                "type": "string"
              }
            },
            "expected": {
              "type": "array",
              "title": "Expected components",
              "description": "List of components / component tags that are expected to be put into this slot.",
              "items": {
                "type": "string",
                "title": "Expected component item",
                "description": "A component ID or tag."
              }
            },
            "minItems": {
              "type": "integer",
              "minimum": 0,
              "title": "Minimum number of items",
              "description": "The minimum number of items a slot should accommodate"
            },
            "maxItems": {
              "type": "integer",
              "minimum": 1,
              "title": "Maximum number of items",
              "description": "The maximum number of items a slot should accommodate"
            }
          }
        }
@@ -239,6 +261,14 @@
    "variants": {
      "$ref": "#/$defs/variantDefinition"
    },
    "tags": {
      "type": "array",
      "title": "Tags",
      "description": "A list of tags to apply to this component",
      "items": {
        "type": "string"
      }
    },
    "libraryOverrides": {
      "$ref": "#/$defs/libraryDefinition"
    },