MI-DPLA / combine

Combine /kämˌbīn/ - Metadata Aggregator Platform
MIT License
26 stars 11 forks source link

xml2kvp: validate configuration JSON #220

Closed ghukill closed 6 years ago

ghukill commented 6 years ago

Validate before:

Could be static method on XML2kvp that validates against default types. Or, an actual JSON schema?

ghukill commented 6 years ago

Schema is validated live in jsoneditor, but think it would still allow submission (no JS checks to prevent).

Would still make sense to validate before sitautions above.

ghukill commented 6 years ago

Validation before update/create in fm config form. Keeping issue open if deemed useful to validate before Jobs are run (not just FM mapper CRUD).

ghukill commented 6 years ago

Closing - may revisit later when ES queries get more attention, but there is some schema validation information for users, and again during CRUD operations.