Skip to content

Commit

Permalink
Merge pull request #37 from partio-scout/feature/add-new-fields
Browse files Browse the repository at this point in the history
Feature/add new fields
  • Loading branch information
linneamyl authored Nov 22, 2021
2 parents 5380da7 + d1e52be commit d9f9b88
Show file tree
Hide file tree
Showing 17 changed files with 1,213 additions and 7 deletions.
143 changes: 143 additions & 0 deletions api/activity-group/documentation/1.0.0/activity-group.json
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,9 @@
"preparation_duration": {
"type": "string"
},
"is_marine_activity": {
"type": "boolean"
},
"localizations": {
"type": "array",
"items": {
Expand Down Expand Up @@ -908,6 +911,73 @@
},
"url": {
"type": "string"
},
"icon": {
"required": [
"id",
"name",
"hash",
"mime",
"size",
"url",
"provider"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"alternativeText": {
"type": "string"
},
"caption": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"formats": {
"type": "object"
},
"hash": {
"type": "string"
},
"ext": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"url": {
"type": "string"
},
"previewUrl": {
"type": "string"
},
"provider": {
"type": "string"
},
"provider_metadata": {
"type": "object"
},
"related": {
"type": "string"
},
"created_by": {
"type": "string"
},
"updated_by": {
"type": "string"
}
}
}
}
}
Expand Down Expand Up @@ -1458,6 +1528,9 @@
"preparation_duration": {
"type": "string"
},
"is_marine_activity": {
"type": "boolean"
},
"localizations": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1670,6 +1743,73 @@
},
"url": {
"type": "string"
},
"icon": {
"required": [
"id",
"name",
"hash",
"mime",
"size",
"url",
"provider"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"alternativeText": {
"type": "string"
},
"caption": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"formats": {
"type": "object"
},
"hash": {
"type": "string"
},
"ext": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"url": {
"type": "string"
},
"previewUrl": {
"type": "string"
},
"provider": {
"type": "string"
},
"provider_metadata": {
"type": "object"
},
"related": {
"type": "string"
},
"created_by": {
"type": "string"
},
"updated_by": {
"type": "string"
}
}
}
}
}
Expand Down Expand Up @@ -2111,6 +2251,9 @@
"preparation_duration": {
"type": "string"
},
"is_marine_activity": {
"type": "boolean"
},
"localizations": {
"type": "array",
"items": {
Expand Down
143 changes: 143 additions & 0 deletions api/activity/documentation/1.0.0/activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,73 @@
},
"url": {
"type": "string"
},
"icon": {
"required": [
"id",
"name",
"hash",
"mime",
"size",
"url",
"provider"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"alternativeText": {
"type": "string"
},
"caption": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"formats": {
"type": "object"
},
"hash": {
"type": "string"
},
"ext": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"url": {
"type": "string"
},
"previewUrl": {
"type": "string"
},
"provider": {
"type": "string"
},
"provider_metadata": {
"type": "object"
},
"related": {
"type": "string"
},
"created_by": {
"type": "string"
},
"updated_by": {
"type": "string"
}
}
}
}
}
Expand Down Expand Up @@ -1491,6 +1558,9 @@
}
}
},
"is_marine_activity": {
"type": "boolean"
},
"localizations": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1602,6 +1672,9 @@
"preparation_duration": {
"type": "string"
},
"is_marine_activity": {
"type": "boolean"
},
"localizations": {
"type": "array",
"items": {
Expand Down Expand Up @@ -1724,6 +1797,73 @@
},
"url": {
"type": "string"
},
"icon": {
"required": [
"id",
"name",
"hash",
"mime",
"size",
"url",
"provider"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"alternativeText": {
"type": "string"
},
"caption": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"formats": {
"type": "object"
},
"hash": {
"type": "string"
},
"ext": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number"
},
"url": {
"type": "string"
},
"previewUrl": {
"type": "string"
},
"provider": {
"type": "string"
},
"provider_metadata": {
"type": "object"
},
"related": {
"type": "string"
},
"created_by": {
"type": "string"
},
"updated_by": {
"type": "string"
}
}
}
}
}
Expand All @@ -1737,6 +1877,9 @@
"preparation_duration": {
"type": "string"
},
"is_marine_activity": {
"type": "boolean"
},
"localizations": {
"type": "array",
"items": {
Expand Down
8 changes: 8 additions & 0 deletions api/activity/models/activity.settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@
"preparation_duration": {
"model": "duration",
"via": "preparation_activities"
},
"is_marine_activity": {
"pluginOptions": {
"i18n": {
"localized": true
}
},
"type": "boolean"
}
}
}
Loading

0 comments on commit d9f9b88

Please sign in to comment.