Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions conda_recipe_v2_schema/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,9 @@ class About(StrictBaseModel):
)
license_url: str | None = Field(None, description="A url that points to the license file.")

# purls
purls: ConditionalList[str] | None = Field(None, description="Package URLs (purls) for the package.")

# Text
summary: str | None = Field(None, description="A short description of the package.")
description: str | DescriptionFile | None = Field(
Expand Down
29 changes: 29 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,35 @@
"description": "A url that points to the license file.",
"title": "License Url"
},
"purls": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/IfStatement"
},
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"$ref": "#/$defs/IfStatement"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Package URLs (purls) for the package.",
"title": "Purls"
},
"summary": {
"anyOf": [
{
Expand Down