Skip to content

Commit

Permalink
add 'description' field to captures array
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Gilbert <[email protected]>
  • Loading branch information
Jacob Gilbert committed Aug 1, 2021
1 parent 206f2a1 commit 7c15a04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions sigmf-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ capture segment objects:
|`global_index`|false|uint|If the sample source provides a global sample count, this is the global index that maps to `sample_start`.|
|`frequency`|false|double|The center frequency of the signal in Hz.|
|`datetime`|false|string|An ISO-8601 string indicating the timestamp of the sample index specified by `sample_start`. More details, below.|
|`description`|false|string|A text description of the segment.|

###### The `global_index` Pair

Expand Down
6 changes: 6 additions & 0 deletions sigmf/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@
"required": false,
"pattern": "",
"help": "An ISO-8601 string indicating the timestamp of the sample index specified by sample_start. (e.g., 2017-02-01T15:05:03.000Z)"
},
"core:description": {
"type": "string",
"required": false,
"pattern": "",
"help": "A text description of the segment."
}
}
},
Expand Down

0 comments on commit 7c15a04

Please sign in to comment.