Skip to content

Commit

Permalink
docs: fix examples for versionRange according to VERS spec (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevespringett authored Mar 25, 2024
2 parents 3e01ce6 + 7325eb1 commit 22299d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions schema/bom-1.6.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2929,11 +2929,11 @@
"minLength": 1,
"maxLength": 4096,
"examples": [
"9.0.14",
"1.2.3|>=2.0.0|<5.0.0",
"0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1",
">=1.0.0-beta1|<=1.7.5|>=7.0.0-M1|<=7.0.7|>=7.1.0|<=7.1.2|>=8.0.0-M1|<=8.0.1",
">=2.2.0|!= 2.2.1|<2.3.0"
"vers:cargo/9.0.14",
"vers:npm/1.2.3|>=2.0.0|<5.0.0",
"vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1",
"vers:tomee/>=1.0.0-beta1|<=1.7.5|>=7.0.0-M1|<=7.0.7|>=7.1.0|<=7.1.2|>=8.0.0-M1|<=8.0.1",
"vers:gem/>=2.2.0|!= 2.2.1|<2.3.0"
]
},
"range": {
Expand Down
10 changes: 5 additions & 5 deletions schema/bom-1.6.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ limitations under the License.
A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/VERSION-RANGE-SPEC.rst
Example values:
- "9.0.14"
- "1.2.3|>=2.0.0|<5.0.0"
- "0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1"
- ">=1.0.0-beta1|<=1.7.5|>=7.0.0-M1|<=7.0.7|>=7.1.0|<=7.1.2|>=8.0.0-M1|<=8.0.1"
- ">=2.2.0|!= 2.2.1|<2.3.0"
- "vers:cargo/9.0.14"
- "vers:npm/1.2.3|>=2.0.0|<5.0.0"
- "vers:pypi/0.0.0|0.0.1|0.0.2|0.0.3|1.0|2.0pre1"
- "vers:tomee/>=1.0.0-beta1|<=1.7.5|>=7.0.0-M1|<=7.0.7|>=7.1.0|<=7.1.2|>=8.0.0-M1|<=8.0.1"
- "vers:gem/>=2.2.0|!= 2.2.1|<2.3.0"
]]>
</xs:documentation>
</xs:annotation>
Expand Down

0 comments on commit 22299d0

Please sign in to comment.