Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

structured data adr #407

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

structured data adr #407

wants to merge 6 commits into from

Conversation

kadhonn
Copy link
Member

@kadhonn kadhonn commented Apr 23, 2024

closes #367

@kadhonn kadhonn marked this pull request as draft April 23, 2024 11:24

At this point we need to introduce some more precise terminology:

TODO move or copy this glossary somewhere else?
Copy link
Collaborator

@twatzl twatzl Apr 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would move the final documentation to SEMANTIC_CONVENTIONS.md and only link it here or explain it in short


Knowledge about markdown is important for rendering it correctly.

The format is normal [Markdown](https://en.wikipedia.org/wiki/Markdown).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use a different wording.

e.g. "We agree to use standard markdown according to wiki"


### Lists

Knowledge about lists is mostly important for contains searches and search faceting. We cannot sort lists. (TODO can/should we?)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorting according to list values should be done by client, not?
it would be more complex as we would also need some information about the sort order. maybe we have to implement this later when we find a use case for it in the publisher, but for now i would not

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i also think we should not support this right now


Knowledge about numbers is mostly important to correctly sort them.

The format looks like: TODO define format and possible numbers here
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format is just javascript number... or not?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would like it to be more specific, what do we want to support? only "normal" numbers like 2 and -3? floating point? hex values? e notation numbers?


#### Language Variant

Has the VariantName "lang" and the value is a two-letter language abbreviation, like "en", "de", "fr", ...
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how would we denote the "original" language?
Or do we use some kind of indication of collected value vs enriched value?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm
maybe an event already has two languages on it's source?
i think we should just annotate generated values extra, the rest should be as is
we could think of having no lang variant as the default?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Structured Data
2 participants