Skip to content

Navigation Menu

Sign in
Sign up

Thoughts on removing default values from the spec #617

prabhu started this conversation in General
Discussion options

We currently have default values in the specification. By not having "default", we can make the spec more "unopinionated".

Examples:

swid object

"default": "0.0",


"default": false,

scope object

It is quite difficult to answer if a given component is really required for the runtime.

"default": "required"

attachment object

contentType could be made another "required" attribute but without any default values.

"default": "text/plain",

compositions object

Since aggregateType is not a required attribute, no default value is required.

"default": "not_specified",
You must be logged in to vote

Replies: 0 comments

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

AltStyle によって変換されたページ (->オリジナル) /