Skip to content

Commit

Permalink
Update schema to have correct options for Platform.sh and Upsun
Browse files Browse the repository at this point in the history
  • Loading branch information
akalipetis committed Nov 20, 2023
1 parent 09b5479 commit a48c630
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 6 deletions.
18 changes: 15 additions & 3 deletions validator/schema/platformsh.application.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@
"properties": {
"source": {
"type": "string",
"title": "The type of mount that will provide the data."
"title": "The type of mount that will provide the data.",
"enum": [
"local",
"service"
]
},
"source_path": {
"type": "string",
Expand Down Expand Up @@ -343,7 +347,11 @@
"properties": {
"source": {
"type": "string",
"title": "The type of mount that will provide the data."
"title": "The type of mount that will provide the data.",
"enum": [
"local",
"service"
]
},
"source_path": {
"type": "string",
Expand Down Expand Up @@ -724,7 +732,11 @@
"properties": {
"source": {
"type": "string",
"title": "The type of mount that will provide the data."
"title": "The type of mount that will provide the data.",
"enum": [
"local",
"service"
]
},
"source_path": {
"type": "string",
Expand Down
18 changes: 15 additions & 3 deletions validator/schema/upsun.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@
"properties": {
"source": {
"type": "string",
"title": "The type of mount that will provide the data."
"title": "The type of mount that will provide the data.",
"enum": [
"storage",
"service"
]
},
"source_path": {
"type": "string",
Expand Down Expand Up @@ -338,7 +342,11 @@
"properties": {
"source": {
"type": "string",
"title": "The type of mount that will provide the data."
"title": "The type of mount that will provide the data.",
"enum": [
"storage",
"service"
]
},
"source_path": {
"type": "string",
Expand Down Expand Up @@ -715,7 +723,11 @@
"properties": {
"source": {
"type": "string",
"title": "The type of mount that will provide the data."
"title": "The type of mount that will provide the data.",
"enum": [
"storage",
"service"
]
},
"source_path": {
"type": "string",
Expand Down

0 comments on commit a48c630

Please sign in to comment.