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

Integrate profile valiation in standards compliance facet #63

Description

@nuest

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>"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions