Skip to content

Commit 418d917

Browse files
nsbrucedrao-swTeque5
authored
Allow global.properties.core:sample_rate to be any number greater than 0 (#350)
* fix(sigmf-schema.json): allow global.properties.core:sample_rate to be any number greater than 0 See #339 for discussion. There are cases where the sample rate of a system is less than 1 second. This change makes use of the JSON schema exclusiveMinimum keyword on ranges. * increment to v1.2.6 --------- Co-authored-by: Nicholas Bruce <[email protected]> Co-authored-by: Teque5 <[email protected]>
1 parent 12a32ee commit 418d917

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cff-version: 1.0.3
22
authors:
33
- name: The GNU Radio Foundation, Inc.
44
title: The Signal Metadata Format (SigMF)
5-
version: 1.2.5
5+
version: 1.2.6
66
doi: 10.5281/zenodo.1418396
77
date-released: 2025-05-16
88
license: CC-BY-SA-4.0

sigmf-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$id": "https://raw.githubusercontent.com/sigmf/SigMF/v1.2.5/sigmf-schema.json",
2+
"$id": "https://raw.githubusercontent.com/sigmf/SigMF/v1.2.6/sigmf-schema.json",
33
"$schema": "https://json-schema.org/draft/2020-12/schema",
44
"title": "Schema for SigMF Meta Files",
55
"description": "SigMF specifies a way to describe sets of recorded digital signal samples with metadata written in JSON. SigMF can be used to describe general information about a collection of samples, the characteristics of the system that generated the samples, features of signals themselves, and the relationship between different recordings.",
@@ -30,7 +30,7 @@
3030
},
3131
"core:sample_rate": {
3232
"description": "The sample rate of the signal in samples per second.",
33-
"minimum": 1,
33+
"exclusiveMinimum": 0,
3434
"maximum": 1000000000000,
3535
"type": "number"
3636
},

0 commit comments

Comments
 (0)