Skip to content

Define and optionally enforce structure of number values #6

@pudo

Description

@pudo

Based on discussion with @tillprochaska in the context of https://aleph.discourse.group/t/ftm-proposal-optionally-specify-unit-for-number-properties/212/5

Let's define that a number is eventually meant to be a thing that contains only digits, can start with a - and at most one .. This way aleph can facet on it. Does this mess too much with the duration semantics from schema.org? The point is that we've never said this before, and so until now it's very much anything goes.

Next up: defining unit and making that into a well-defined concept - do we need to be able to do conversion?

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