{
  "$defs": {
    "CustomSliceOuter": {
      "additionalProperties": false,
      "properties": {
        "slice": {
          "$ref": "#/$defs/CustomSliceType"
        }
      },
      "required": [
        "slice"
      ],
      "type": "object"
    },
    "CustomSliceType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ]
    }
  },
  "$id": "https://github.com/invopop/jsonschema/custom-slice-outer",
  "$ref": "#/$defs/CustomSliceOuter",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}