Skip to content

Consider changing all occurences of schema:url to iris #18

@C-Loftus

Description

@C-Loftus

in some of our integrations like wqp, we have schema:url as a raw string literal instead of an iri like

{
"@id": "test.com"
}

We could change this to be an iri, but at the same time it could be easier to just keep it as a string literal if we dont plan to use it as a node and ascribe properties to it

example:

            "provider": {
                "url": "https://www.waterqualitydata.us/beta/",
                "@type": "GovernmentOrganization",
                "name": "{{ data['OrganizationFormalName'] }}"
            },
            {%- if data['station_url'] %}
            "url": "{{ data['station_url'] | replace('https://www.waterqualitydata.us/provider', 'https://www.waterqualitydata.us/beta/provider') }}",
            {% endif -%}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions