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
54 changes: 0 additions & 54 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -26,60 +26,6 @@
"dofigen.json",
"drone.json",
"drupal-recipe.json",
"enonic-xp-admin-extension-8.0.0-B4.json",
"enonic-xp-admin-tool-8.0.0-B4.json",
"enonic-xp-api-8.0.0-B4.json",
"enonic-xp-application-8.0.0-B4.json",
"enonic-xp-cms-8.0.0-B4.json",
"enonic-xp-content-type-8.0.0-B4.json",
"enonic-xp-form-fragment-8.0.0-B4.json",
"enonic-xp-idprovider-8.0.0-B4.json",
"enonic-xp-layout-8.0.0-B4.json",
"enonic-xp-macro-8.0.0-B4.json",
"enonic-xp-mixin-8.0.0-B4.json",
"enonic-xp-page-8.0.0-B4.json",
"enonic-xp-part-8.0.0-B4.json",
"enonic-xp-service-8.0.0-B4.json",
"enonic-xp-site-8.0.0-B4.json",
"enonic-xp-style-8.0.0-B4.json",
"enonic-xp-task-8.0.0-B4.json",
"enonic-xp-webapp-8.0.0-B4.json",
"enonic-xp-admin-extension-8.0.0-B5.json",
"enonic-xp-admin-tool-8.0.0-B5.json",
"enonic-xp-api-8.0.0-B5.json",
"enonic-xp-application-8.0.0-B5.json",
"enonic-xp-cms-8.0.0-B5.json",
"enonic-xp-content-type-8.0.0-B5.json",
"enonic-xp-form-fragment-8.0.0-B5.json",
"enonic-xp-idprovider-8.0.0-B5.json",
"enonic-xp-layout-8.0.0-B5.json",
"enonic-xp-macro-8.0.0-B5.json",
"enonic-xp-mixin-8.0.0-B5.json",
"enonic-xp-page-8.0.0-B5.json",
"enonic-xp-part-8.0.0-B5.json",
"enonic-xp-service-8.0.0-B5.json",
"enonic-xp-site-8.0.0-B5.json",
"enonic-xp-style-8.0.0-B5.json",
"enonic-xp-task-8.0.0-B5.json",
"enonic-xp-webapp-8.0.0-B5.json",
"enonic-xp-admin-extension-8.0.0.json",
"enonic-xp-admin-tool-8.0.0.json",
"enonic-xp-api-8.0.0.json",
"enonic-xp-application-8.0.0.json",
"enonic-xp-cms-8.0.0.json",
"enonic-xp-content-type-8.0.0.json",
"enonic-xp-form-fragment-8.0.0.json",
"enonic-xp-idprovider-8.0.0.json",
"enonic-xp-layout-8.0.0.json",
"enonic-xp-macro-8.0.0.json",
"enonic-xp-mixin-8.0.0.json",
"enonic-xp-page-8.0.0.json",
"enonic-xp-part-8.0.0.json",
"enonic-xp-service-8.0.0.json",
"enonic-xp-site-8.0.0.json",
"enonic-xp-style-8.0.0.json",
"enonic-xp-task-8.0.0.json",
"enonic-xp-webapp-8.0.0.json",
"electron-builder.json",
"esmrc.json",
"expo-37.0.0.json",
Expand Down
180 changes: 146 additions & 34 deletions src/schemas/json/abc-clinical-demand-forecast-1.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@
"type": "string"
},
"showQuantitiesAs": {
"type": ["string", "null"],
"oneOf": [
{
"type": "string",
Expand All @@ -214,12 +213,27 @@
}
],
"title": "Show Quantities As",
"description": "How to display the quantities for this metric"
"description": "How to display the quantities for this metric",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"comparisonPlanID": {
"type": ["string", "null"],
"title": "Comparison Plan ID",
"description": "The ID of the comparison plan to use for this metric or null if no comparison plan is used"
"description": "The ID of the comparison plan to use for this metric or null if no comparison plan is used",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"regionID": {
"type": "string",
Expand Down Expand Up @@ -1131,16 +1145,30 @@
"additionalProperties": false
},
"fromWeight": {
"type": ["number", "null"],
"title": "From Weight",
"description": "Minimum weight for this range (null for no lower bound).",
"minimum": 0
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"toWeight": {
"type": ["number", "null"],
"title": "To Weight",
"description": "Maximum weight for this range (null for no upper bound).",
"minimum": 0
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"expectedPercentage": {
"type": "number",
Expand Down Expand Up @@ -1208,16 +1236,30 @@
"additionalProperties": false
},
"fromAge": {
"type": ["number", "null"],
"title": "From Age",
"description": "Minimum age for this range (null for no lower bound).",
"minimum": 0
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"toAge": {
"type": ["number", "null"],
"title": "To Age",
"description": "Maximum age for this range (null for no upper bound).",
"minimum": 0
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"expectedPercentage": {
"type": "number",
Expand Down Expand Up @@ -1404,28 +1446,56 @@
"additionalProperties": false
},
"activationStartDate": {
"type": ["string", "null"],
"format": "date",
"title": "Activation Start Date",
"description": "Default activation start date for child regions. Null means no default."
"description": "Default activation start date for child regions. Null means no default.",
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"screenRate": {
"type": ["number", "null"],
"title": "Screen Rate",
"description": "Default screen rate for child regions. Null means no default.",
"exclusiveMinimum": 0
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"siteActivationRate": {
"type": ["number", "null"],
"title": "Site Activation Rate",
"description": "Default site activation rate for child regions. Null means no default.",
"exclusiveMinimum": 0
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"maxEnrollmentPerSite": {
"type": ["number", "null"],
"title": "Maximum Enrollment Per Site",
"description": "Default max enrollment per site for child regions. Null means no default.",
"minimum": 0
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"siteSeeding": {
"oneOf": [
Expand Down Expand Up @@ -1470,28 +1540,56 @@
"minimum": 1
},
"activationStartDate": {
"type": ["string", "null"],
"format": "date",
"title": "Activation Start Date",
"description": "Date when site activation begins. Null inherits from parent container."
"description": "Date when site activation begins. Null inherits from parent container.",
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"screenRate": {
"type": ["number", "null"],
"title": "Screen Rate",
"description": "Number of subjects screened per site per month. Null inherits from parent container.",
"exclusiveMinimum": 0
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"siteActivationRate": {
"type": ["number", "null"],
"title": "Site Activation Rate",
"description": "Number of sites activated per month. Null inherits from parent container.",
"exclusiveMinimum": 0
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"maxEnrollmentPerSite": {
"type": ["number", "null"],
"title": "Maximum Enrollment Per Site",
"description": "Maximum number of patients that can be enrolled per site. Null for unlimited or inherited.",
"minimum": 0
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"siteSeeding": {
"oneOf": [
Expand Down Expand Up @@ -1633,8 +1731,15 @@
"description": "Monthly kit demand values keyed by YYYY-MM-DD date."
},
"placeboOf": {
"type": ["string", "null"],
"description": "Regimen ID this is placebo of, or null if active."
"description": "Regimen ID this is placebo of, or null if active.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": ["demand", "placeboOf"],
Expand All @@ -1650,8 +1755,15 @@
"description": "Monthly kit item demand values keyed by YYYY-MM-DD date."
},
"placeboOf": {
"type": ["string", "null"],
"description": "Regimen ID this is placebo of, or null if active."
"description": "Regimen ID this is placebo of, or null if active.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": ["demand", "placeboOf"],
Expand Down
Loading
Loading