On Wed, May 8, 2024, 7:13 PM [email protected] <[email protected]> wrote:
> Hi Joshua-san and tech team, > > > > Let me ask you a few questions about the Json-LD sample. > > > > 1. about "type" key > > For example, "type": "Person" at line.5 could be considered a Person class > object in a Core profile, but by definition there is no "type" key. > > How should I think about this, and could you describe it somewhere in the > specification document? > "type" is an alias for the json-ld "@type" field. It's not defined in the spec because it's specific to json-ld and thus it was decided not to put it in the model. There probably needs to be some json-ld serialization annex written to describe that 2. about "@id": "_:creationinfo"/1 > > The value of "@id" must be IRI. But from the spdx-3.0-schema.json at > https://github.com/spdx/spdx-3-serialization-prototype-playground/blob/main/jsonld/spdx-3.0-schema.json#L4025-L4027, > "_:creationinfo" is thought to be defined as a BlankNode, not IRI. > Blank nodes (implicit or otherwise are allowed for objects that do not derive from Element (e.g. that do not have an spdxid). This was done because those do not typically need to be referenced outside a document (if they even need to be referenced by name at all) and it would be a pain to users to have to write them when they are not necessary. And the key "@id" is also undefined in the SPDX specification. > This is the same reason as "type" Is there any way to describe it somewhere in the specification? > It does but I'm not sure how > > Best, > > -- Kobota > > > > *From:* [email protected] <[email protected]> *On Behalf Of > *Kate Stewart > *Sent:* Thursday, May 9, 2024 8:46 AM > *To:* Joshua Watt <[email protected]> > *Cc:* SPDX Technical Mailing List <[email protected]> > *Subject:* Re: [spdx-tech] Linking SPDX 3.0 documents > > > > Thanks Joshua! > > > > Very much appreciate your pulling this together. > > > > Alexios, Max - can you please review? > > > > Thanks > Kate > > > > On Wed, May 8, 2024 at 6:40 PM Joshua Watt <[email protected]> wrote: > > All, > > In the tech call it was asked how to link SPDX 3 documents together. > To describe this, I've written another How-To Annex which can be read > here: > https://github.com/JPEWdev/spdx-spec/blob/development/v3.0.1/docs/annexes/cross-reference.md > > The pull request to integrate this into the documentation is here: > https://github.com/spdx/spdx-spec/pull/938 > > This is the correct way to do it to the best of my knowledge; please > review and let me know if it needs corrections. > > Thanks, > Joshua Watt > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5637): https://lists.spdx.org/g/Spdx-tech/message/5637 Mute This Topic: https://lists.spdx.org/mt/105992376/21656 Group Owner: [email protected] Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
