Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Integrate profile valiation in standards compliance facet #63

Open
nuest opened this issue Feb 6, 2015 · 0 comments
Open

Integrate profile valiation in standards compliance facet #63

nuest opened this issue Feb 6, 2015 · 0 comments

Comments

@nuest
Copy link
Contributor

nuest commented Feb 6, 2015

Implement a "registry" for profiles and add profile conformance to the created facet.

Registry: Add a property profile.resources to the configuration file server.properties which contains a comma-seperated list of JSON-based profile configuration files, which contain three fields: a name (to be displayed within the hover text), an applicability xpath, and the schematron. E.g. a sketch for src/main/resources/profiles/profileSML101discovery.json:

{
    "name" : "my metadata profile version 4.2",
    "applicabilityPath":"boolean(//*[local-name()='SensorML'][@version='1.0.1'])",
    "schematron":"<?xml version=\"1.0\"?><my=\"personal\"><schematron /><goes_here /></my>"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant