Skip to content

Commit

Permalink
Readd capabilities files (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcamise-gpsw committed Apr 23, 2024
1 parent e2dfea7 commit b39e3d0
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
*.xlsx filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
capabilities/capabilities.xlsx filter=lfs diff=lfs merge=lfs -text
capabilities/capabilities.json filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions capabilities/capabilities.json
Git LFS file not shown
3 changes: 3 additions & 0 deletions capabilities/capabilities.xlsx
Git LFS file not shown
50 changes: 50 additions & 0 deletions capabilities/capabilities_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GoPro Settings Capabilities",
"type": "object",
"patternProperties": {
"^HERO": {
"title": "Camera (e.g. HERO10 Black)",
"type": "object",
"patternProperties": {
"^v": {
"title": "Firmware Version (e.g. v01.30.00)",
"type": "object",
"properties": {
"states": {
"title": "Supported states",
"type": "array",
"items": {
"title": "Dependency-ordered options comprising a state",
"type": "array",
"items": {
"title": "An individual setting",
"type": "object",
"properties": {
"setting_name": {
"title": "Name of setting",
"type": "string"
},
"setting_id": {
"title": "Setting ID",
"type": "integer"
},
"option_name": {
"title": "Option Name",
"type": "string"
},
"option_id": {
"title": "Option ID",
"type": "integer"
}
}
}
}
}
}
}
}
}
}
}

0 comments on commit b39e3d0

Please sign in to comment.