diff --git a/.gitattributes b/.gitattributes index 1e7a7d31..397ef09d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/capabilities/capabilities.json b/capabilities/capabilities.json new file mode 100644 index 00000000..6c33052a --- /dev/null +++ b/capabilities/capabilities.json @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9440738befe9935c91c80889890287b677306ec1610479ea705a7d1f21f06ae1 +size 5622292 diff --git a/capabilities/capabilities.xlsx b/capabilities/capabilities.xlsx new file mode 100644 index 00000000..a745432f --- /dev/null +++ b/capabilities/capabilities.xlsx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4cb17f29f5107ea44f305f577720a42d45a1f4bd6e720346fb35d3650f9c21be +size 111892 diff --git a/capabilities/capabilities_schema.json b/capabilities/capabilities_schema.json new file mode 100644 index 00000000..3c686d15 --- /dev/null +++ b/capabilities/capabilities_schema.json @@ -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" + } + } + } + } + } + } + } + } + } + } +} +