Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/modules / ___dist / exotic / @examples / test-shape-schema.js
Size: Mime:
"use strict";

// 1st - coerce
// 2nd - iterate and DEFAULT
const schema = {
  name: '?String',
  children: {
    products: Array
  },
  properties: {
    iteminfo: {
      categoryids: Array,
      additionalinfo: Array
    },
    state: {
      selectedFacets: Array,
      sorting: [{
        options: Array,
        selectedname: String
      }],
      productcount: Number(1)
    }
  },
  facets: Array
};