Skip to contents

This is usually used with a dataset collection. For each item in the collection, check first that it is bound to the expected schema. Then check that the item's annotations validate against the schema, using Synapse's native validation services.

Usage

validate_collection_items(collection_id, schema_id)

Arguments

collection_id

Collection id.

schema_id

Id of schema that items are expected to be bound to, e.g. "org.synapse.nf-portaldataset".

Details

The result partitions any bound_schema_error and validation_error in a list.