Skip to content
Open
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
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
# community-extensions
Central location for SigMF users to make their extensions publicly available to all.

The (SigMF Standard)[https://sigmf.org/] requires that references to extensions
(such as the ones this this repository) contain a URI reference from whence it can
be downloaded.
As there is no coordinated release cycle among these community-maintained extensions,
there must exist some mechanism by which a specific version of one of the `-schema.json`
files in this repo can be referenced.
However, using a GitHub "permalink" is not suitable for this purpose, because the
`"$id"` field must indicate that URI, and (as part of the content of a commit) this
value will affect the commit hash ...

Consequently, we use the following "two tiered" versioning approach to the "one-stop
shopping" scope of this repo:
1. git tags will be assigned by the maintainers of this repo whenever any schema
contributor indicates that a "release" is desired.
This will always be a date of the form YYYY-mm-dd (e.g., `2025-01-02`).
1. Individual schema should include a `"$comment"` key-value pair (ideally) on the
line after the `"$id"` key-value pair which will use
[Semantic Versioning](https://semver.or) as a means of indicating
backwards-incompatible/new-functionality/bug-fixes of that individual schema.

An example of such a schema id: https://raw.githubusercontent.com/sigmf/community-extensions/refs/tags/2025-01-01/sigmf-wifi-schema.json
85 changes: 85 additions & 0 deletions sigmf-wifi-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"$id": "https://raw.githubusercontent.com/sigmf/community-extensions/refs/tags/2025-01-01/sigmf-wifi-schema.json",
"$comment": "version: 1.0.0; original author: Napolean; current maintainer: Pedro",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Wi-Fi extension for SigMF-meta file.",
"description": "The `wifi`namespace extension defines dynamic Wi-Fi burst parameters extending `annotations`.",
"type": "object",
"properties": {
"annotations": {
"description": "The following names are specified in the `wifi` namespace and should be used in the `annotations` object:",
"type": "array",
"items": {
"type": "object",
"required": ["wifi:standard"],
"$comment": "In the .md version of this schema, all of the fields were 'required' ...",
"properties": {
"wifi:standard": {
"description": "Wireless standard of captured signal e.g. 802.11a/g.",
"type": "string"
},
"wifi:frame_type_phy": {
"description": "Physical layer specification e.g. non-high throughput or very-high throughput.",
"type": "string"
},
"wifi:channel": {
"description": "Wi-Fi channel of captured signal",
"type": "integer"
},
"wifi:start_time_s": {
"description": "Start time of RF burst (relative time to start time of main capture file).",
"type": "number"
},
"wifi:stop_time_s": {
"description": "Stop time of RF burst (relative time to start time of main capture file).",
"type": "number"
},
"wifi:frame_duration_s": {
"description": "Duration of RF burst (`stop_time_s` - `start_time_s`).",
"type": "number"
},
"wifi:MCS": {
"description": "Wi-Fi signal Modulation and Coding Scheme (MCS).",
"type": "integer"
},
"wifi:MAC_frame_type": {
"description": "Wi-Fi MAC frame type.",
"type": "string"
},
"wifi:MAC_ta": {
"description": "Wi-Fi transmitter MAC address.",
"type": "string"
},
"wifi:MAC_ra": {
"description": "Wi-Fi receiver MAC address.",
"type": "string"
},
"wifi:manufacturer_ta": {
"description": "Manufacturer of the Wi-Fi transmitter.",
"type": "string"
},
"wifi:MAC_frame": {
"description": "Wi-Fi MAC frame data without CRC.",
"type": "string"
},
"wifi:CRC": {
"description": "Wi-Fi MAC frame CRC.",
"type": "string"
},
"wifi:start_of_packet": {
"description": "Starting sample of captured Wi-Fi burst.",
"type": "number"
},
"wifi:stop_of_packet": {
"description": "Stopping sample of captured Wi-Fi burst.",
"type": "number"
},
"wifi:number_of_samples_in_packet": {
"description": "Number of downsampled IQ samples in Wi-Fi burst.",
"type": "number"
}
}
}
}
}
}
39 changes: 0 additions & 39 deletions wifi/wifi.sigmf-ext.md

This file was deleted.