Replies: 5 comments 16 replies
-
One thing that I feel is missing from the OCA specification in regards with the Aries Branding Overlay and the Cluster Ordering Overlay is attribute aggregation. {
"primary_attribute":"firstname",
"secondary_attribute":"lastname"
} In the Aries OCA style guide these two attributes are displayed as two separate text fields in the card layout. {
"type": "spec/overlays/template/1.0",
"capture_base": "...",
"attributeTemplates": {
"fullname": "{{ firstname }} {{ lastname }}"
}
} In the OCA processing code, the One issue I see with this kind of overlay, is that it either requires some overlays (e.g. the label or information overlays) to be aware of the new properties produced by this overlay, or that the capture base needs to include the aggregated attribute as well (which could potentially lead to conflicts if the capture base doesn't use the attribute type Is this a topic that was already discussed or needs to be considered for the specification (either the official OCA or the Swiss OCA one)? |
Beta Was this translation helpful? Give feedback.
-
I am utterly confused. OCA appears to be an unnecessarily complicated way to address problems you do not even have. You are building a wallet application to store digital credentials. According to the presentation from September, you seem to need some kind of style sheets. The OCA is nowhere near (becoming) standard. The technical specification (if one dares call it that) mentions Layout Overlays and "specifies" them as a TODO. If you have to define the stuff yourselves anyway, why bother with the OCA to begin with? The way a credential is displayed on user screens is necessarily independent of the way relying parties actually verify credentials. No relying party should care what a credential "looks like" on your phone. All the styling is only there to help users find a particular credential in the wallet. This is not even much of an issue, given a relying party should be able to request a particular type of credential. The wallet should know I need a driving licence (say), one should not really need to browse for it. A typical user will only possess a few credentials and will be well familiar with the content. How you choose to display or label one's date of birth is rather irrelevant. Most people are aware of their age. The use of OCA is completely unreasonable. One might be tempted to think that the way you reason about styling is rather harmless. On the contrary, you introduce additional complexity and get very little in return. Unnecessary complexity is seldom harmless. OCA may also have led you to pick up CESR and SAID. Neither of the two is a recognised standard, CESR is one abomination of a format nobody should use. You have already decided to diverge from OCA, given the particular feature "adds no value". That is a good start indeed. |
Beta Was this translation helpful? Give feedback.
-
Dear all, I'd like to clarify a few points about the Overlays Capture Architecture (OCA) and its current development at HCF to help you better leverage it for your projects. OCA - Overlays Capture Architecture was designed to capture and understand the context and meaning of information for further processing and portability, particularly in terms of interoperability and data flows. This means that when you receive a data package, OCA enables you to comprehend the context in which this information was captured and its intended meaning. To ensure functionality across different jurisdictions, a critical aspect of OCA is its integrity. Everything within OCA is content-addressable through SAIDs (Self-Addressing Identifiers), ensuring the integrity of data irrespective of its source. This is crucial for maintaining cross-governance compatibility. For comparison, consider the schema.org/person model. When you use this schema, you cannot be certain that the content it references matches your expectations. This ambiguity opens up potential attack vectors, particularly in the Verifiable Credentials (VC) space. For example, by altering the meaning of a schema, you could change the outcome of a validation process, such as the difference between "Are you allowed to enter?" versus "Are you NOT allowed to enter?" if a simple affirmative 'yes' is misinterpreted or maliciously modified. Important to mention as well is that VC use case for OCA is relatively small and one among of many use cases where OCA shows it strength in space of data capture/collection and processing. P.S. OCA follows dominant design - we build, we test and then if it works becomes de facto standard. Writing a spec or "standard" does not mean that is good or that everyone should use it. At HCF we have more practical approach. now let's dive into details ... |
Beta Was this translation helpful? Give feedback.
-
Allow me to introduce myself: I am @pknowl, the inventor of the Overlays Capture Architecture (OCA) concept and the founder of the overarching framework, Decentralised Semantics. I currently chair the Decentralised Semantics Working Group at The Human Colossus Foundation. My leadership primarily focuses on ensuring semantic interoperability and data harmonisation through utilising OCA, defending its core principles, while @mitfik focuses on the ecosystem of tools required to maintain the integrity of OCA as a decentralised semantic architecture. Regarding @M-Wong 's query on attribute concatenation and the structural treatment of a citizen's name in semantic modelling, I'd like to provide a perspective that balances semantic precision and data protection. Rather than introducing a transformation overlay that aggregates attributes (such as Here is an example of how a "Name" object can be structured as a referenced capture base:
Why this approach matters: By treating "Name" as a granular and well-defined standalone object, we gain significant advantages from a PII (Personally Identifiable Information) protection perspective. This allows us to:
In summary, while a transformation overlay for concatenating attributes such as Please don't hesitate to reach out if you have further questions from a semantic modelling perspective or would like to explore this in more detail. I’ll keep an eye on the ongoing discussion and jump in if I feel I can contribute to any further discussion points. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am Carly Huitema and I am leading the implementation of OCA into what we've called the Semantic Engine at Agri-food Data Canada (ADC). We like the overlay structure of OCA and the calculation of SAIDs for reproducibility, an important feature in research. We have a publication which also explains the approach. We are also at the stage of creating new overlays to add to our schemas. However, our approach is a little different. We want to keep new overlays separate from the official specification, to preserve interoperability and keep things clear about what is created by us, and what is within the core OCA specification. Since SAIDs are calculated at the object level we want to avoid mixing OCA spec and our own overlays together in the same object where a SAID is calculated. This draft specification is our design that we are currently implementing from. It is currently in my personal repository while being developed and if others are interested in developing it with us at ADC it could become a community effort. Right now we have objects: oca_bundle (core spec OCA), extensions (our overlays we add) and presentation (where we will stick presentation specific overlays). We can add other objects. We have code and can generate our own overlays and calculate SAIDs and generate the package. The OCA Package is an attempt to add to OCA the functionalities we need while maintaining SAID values and providing guidance to harmonize syntax. |
Beta Was this translation helpful? Give feedback.
-
This thread is for feedback, questions or general inputs on the new specifications for visualizing Verifiable Credentials in the wallet.
Link to the new specification: open-source-community/tech-roadmap/rfcs/oca/spec.md at main · e-id-admin/open-source-community (github.com)
Beta Was this translation helpful? Give feedback.
All reactions