Skip to content
Merged
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
2 changes: 1 addition & 1 deletion packages/nextclade-cli/src/cli/nextclade_dataset_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub fn nextclade_dataset_list(
} else {
let is_not_deprecated = include_deprecated || !dataset.deprecated();
let is_not_experimental = !no_experimental || !dataset.experimental();
let is_not_community = !no_community || dataset.official();
let is_not_community = !no_community || !dataset.is_community();
is_not_deprecated && is_not_experimental && is_not_community
}
})
Expand Down
64 changes: 64 additions & 0 deletions packages/nextclade-schemas/input-pathogen-json.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,28 @@
"type": "null"
}
]
},
"deprecated": {
"type": [
"boolean",
"null"
]
},
"experimental": {
"type": [
"boolean",
"null"
]
},
"maintenance": {
"anyOf": [
{
"$ref": "#/definitions/DatasetMaintenance"
},
{
"type": "null"
}
]
}
},
"definitions": {
Expand Down Expand Up @@ -1385,6 +1407,48 @@
"type": "string"
}
}
},
"DatasetMaintenance": {
"description": "Contact and documentation URLs for dataset maintenance",
"type": "object",
"properties": {
"website": {
"type": "array",
"items": {
"type": "string"
}
},
"documentation": {
"type": "array",
"items": {
"type": "string"
}
},
"source code": {
"type": "array",
"items": {
"type": "string"
}
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"organizations": {
"type": "array",
"items": {
"type": "string"
}
},
"authors": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
40 changes: 40 additions & 0 deletions packages/nextclade-schemas/input-pathogen-json.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,18 @@ properties:
anyOf:
- $ref: '#/definitions/DatasetCompatibility'
- type: 'null'
deprecated:
type:
- boolean
- 'null'
experimental:
type:
- boolean
- 'null'
maintenance:
anyOf:
- $ref: '#/definitions/DatasetMaintenance'
- type: 'null'
definitions:
DatasetMeta:
type: object
Expand Down Expand Up @@ -928,3 +940,31 @@ definitions:
type: string
web:
type: string
DatasetMaintenance:
description: Contact and documentation URLs for dataset maintenance
type: object
properties:
website:
type: array
items:
type: string
documentation:
type: array
items:
type: string
source code:
type: array
items:
type: string
issues:
type: array
items:
type: string
organizations:
type: array
items:
type: string
authors:
type: array
items:
type: string
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,16 @@
"type": "null"
}
]
},
"maintenance": {
"anyOf": [
{
"$ref": "#/definitions/DatasetMaintenance"
},
{
"type": "null"
}
]
}
}
},
Expand Down Expand Up @@ -283,6 +293,48 @@
"auspiceJson",
"other"
]
},
"DatasetMaintenance": {
"description": "Contact and documentation URLs for dataset maintenance",
"type": "object",
"properties": {
"website": {
"type": "array",
"items": {
"type": "string"
}
},
"documentation": {
"type": "array",
"items": {
"type": "string"
}
},
"source code": {
"type": "array",
"items": {
"type": "string"
}
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"organizations": {
"type": "array",
"items": {
"type": "string"
}
},
"authors": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ definitions:
anyOf:
- $ref: '#/definitions/DatasetType'
- type: 'null'
maintenance:
anyOf:
- $ref: '#/definitions/DatasetMaintenance'
- type: 'null'
DatasetMeta:
type: object
properties:
Expand Down Expand Up @@ -184,3 +188,31 @@ definitions:
- directory
- auspiceJson
- other
DatasetMaintenance:
description: Contact and documentation URLs for dataset maintenance
type: object
properties:
website:
type: array
items:
type: string
documentation:
type: array
items:
type: string
source code:
type: array
items:
type: string
issues:
type: array
items:
type: string
organizations:
type: array
items:
type: string
authors:
type: array
items:
type: string
52 changes: 52 additions & 0 deletions packages/nextclade-schemas/internal-dataset-json.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@
"type": "null"
}
]
},
"maintenance": {
"anyOf": [
{
"$ref": "#/definitions/DatasetMaintenance"
},
{
"type": "null"
}
]
}
},
"definitions": {
Expand Down Expand Up @@ -203,6 +213,48 @@
"auspiceJson",
"other"
]
},
"DatasetMaintenance": {
"description": "Contact and documentation URLs for dataset maintenance",
"type": "object",
"properties": {
"website": {
"type": "array",
"items": {
"type": "string"
}
},
"documentation": {
"type": "array",
"items": {
"type": "string"
}
},
"source code": {
"type": "array",
"items": {
"type": "string"
}
},
"issues": {
"type": "array",
"items": {
"type": "string"
}
},
"organizations": {
"type": "array",
"items": {
"type": "string"
}
},
"authors": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
32 changes: 32 additions & 0 deletions packages/nextclade-schemas/internal-dataset-json.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ properties:
anyOf:
- $ref: '#/definitions/DatasetType'
- type: 'null'
maintenance:
anyOf:
- $ref: '#/definitions/DatasetMaintenance'
- type: 'null'
definitions:
DatasetMeta:
type: object
Expand Down Expand Up @@ -131,3 +135,31 @@ definitions:
- directory
- auspiceJson
- other
DatasetMaintenance:
description: Contact and documentation URLs for dataset maintenance
type: object
properties:
website:
type: array
items:
type: string
documentation:
type: array
items:
type: string
source code:
type: array
items:
type: string
issues:
type: array
items:
type: string
organizations:
type: array
items:
type: string
authors:
type: array
items:
type: string
Loading