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

Proposal: Add definitions for Individuals #299

Closed
goneall opened this issue May 6, 2023 · 4 comments
Closed

Proposal: Add definitions for Individuals #299

goneall opened this issue May 6, 2023 · 4 comments
Assignees
Labels
model Something about the abstract model
Milestone

Comments

@goneall
Copy link
Member

goneall commented May 6, 2023

To implement NONE and NOASSERTION values for complex types, we need a way to define Individual values.

An individual value is an instance of a Class with specified properties.

I would propose adding these into an Individuals folder.

The file format would be similar to the Vocabularies file format.

Below are proposed sections:

  • Summary
  • Description
  • Metadata
  • name within Metadata
  • id within Metadata (the ID would be the namespace) followed by a unique ID
  • type within Metadata
  • propertyValues - any properties with pre-defined values. Currently, I only expect the ID's to be xsd:string types although we may need to extend these in the future.
@goneall
Copy link
Member Author

goneall commented May 6, 2023

@zvr - let me know any thoughts - we can implement this after RC

@goneall goneall added the model Something about the abstract model label May 6, 2023
@goneall goneall added this to the 3.0 milestone May 6, 2023
@zvr
Copy link
Member

zvr commented May 6, 2023

Sure.

Not even sure "name" is needed, to be honest.

Here's an example:

SPDX-License-Identifier: Community-Spec-1.0

# NoneCopyrightText

## Summary

Individual representing an assertion that no copyright text is present.

## Description

A NoneCopyrightText is the value that is used to indicate
that a software artifact does not contain any copyright information.

## Metadata

- id: NoneCopyrightText
- type: CopyrightText

## Property Values

- text: "NONE"

@goneall
Copy link
Member Author

goneall commented May 6, 2023

Not even sure "name" is needed, to be honest.

Agree - in fact for our use cases, we probably only need ID and Type.

@goneall
Copy link
Member Author

goneall commented Sep 1, 2023

Fixed in PR #456

@goneall goneall closed this as completed Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model Something about the abstract model
Projects
None yet
Development

No branches or pull requests

2 participants