-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: generalize frequency component schema
- Loading branch information
Showing
2 changed files
with
31 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$id": "core/reusable/frequency-function-matrix", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "", | ||
"description": "Schema for a function of frequency yielding a nx3 matrix", | ||
"type": "object", | ||
"properties": { | ||
"frequencies": { | ||
"description": "Frequencies", | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
} | ||
}, | ||
"components": { | ||
"description": "Matrix with 3 columns, e.g. x, y, z", | ||
"type": "array", | ||
"items": { | ||
"$ref": "../primitive/array_of_3_numbers.json" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters