dist/@ajsf/core/bundles/ajsf-core.umd.js
/**
     * 'fixRequiredArrayProperties' function
     *
     * Fixes an incorrectly placed required list inside an array schema, by moving
     * it into items.properties or additionalItems.properties, where it belongs.
     *
     * //   schema - allOf schema object
     * //  - converted schema object
     */
'fixRequiredArrayProperties' function
Fixes an incorrectly placed required list inside an array schema, by moving
it into items.properties or additionalItems.properties, where it belongs.

allOf schema object
- converted schema object
' fixRequiredArrayProperties ' function Fixes an incorrectly placed required list inside an array schema by moving it into items . properties or additionalItems . properties where it belongs . allOf schema object - converted schema object
function fixRequiredArrayProperties(schema) {
        if (schema.type === 'array' && isArray(schema.required)) {
            var itemsObject_1 = hasOwn(schema.items, 'properties') ? 'items' :
                hasOwn(schema.additionalItems, 'properties') ? 'additionalItems' : null;
            if (itemsObject_1 && !hasOwn(schema[itemsObject_1], 'required') && (hasOwn(schema[itemsObject_1], 'additionalProperties') ||
                schema.required.every(function (key) { return hasOwn(schema[itemsObject_1].properties, key); }))) {
                schema = cloneDeep__default['default'](schema);
                schema[itemsObject_1].required = schema.required;
                delete schema.required;
            }
        }
        return schema;
    }
function fixRequiredArrayProperties ( schema ) { if ( schema . type === 'array' && isArray ( schema . required ) ) { var itemsObject_1 = hasOwn ( schema . items , 'properties' ) ? 'items' : hasOwn ( schema . additionalItems , 'properties' ) ? 'additionalItems' : null ; if ( itemsObject_1 && ! hasOwn ( schema [ itemsObject_1 ] , 'required' ) && ( hasOwn ( schema [ itemsObject_1 ] , 'additionalProperties' ) || schema . required . every ( function ( key ) { return hasOwn ( schema [ itemsObject_1 ] . properties , key ) ; } ) ) ) { schema = cloneDeep__default [ 'default' ] ( schema ) ; schema [ itemsObject_1 ] . required = schema . required ; delete schema . required ; } } return schema ; }
'fixRequiredArrayProperties' function
 Fixes an incorrectly placed required list inside an array schema, by moving
 it into items.properties or additionalItems.properties, where it belongs.
' fixRequiredArrayProperties ' function Fixes an incorrectly placed required list inside an array schema by moving it into items . properties or additionalItems . properties where it belongs .