Skip to content

Handling multiple encodings #1

@swcurran

Description

@swcurran

We have come across scenarios when there are multiple levels of data type, encoding and formats, and I'm wondering how best to express those in OCA. Here are some examples:

  • an attribute that is a text, base64 encoded image that might be JPG or PNG
  • an attribute that is a text, base64 encoded json structure
  • an attribute that is a hashlink (simple terms -- a URL that has an query parameter that is the hash of the content of the URL) that references a base64 encoded image.
  • An integer that is a date -- e.g. the integer 20,220,727 that represents the date 2022.07.27
  • an attribute that is a hashlink to a verifiable credential

It seems like there is flexibility in the combination of overlays (data type, encoding, format), but I'm not sure the general concepts of how to apply them. Are data type and encoding constrained, and everything else should be in the format? If so, how should format be used?

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