-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
GitHub Actions
committed
Dec 11, 2024
0 parents
commit c24b626
Showing
36 changed files
with
1,175 additions
and
0 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,165 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://nordicsemiconductor.github.io/nrfprogrammer-firmware-images/application.schema.json", | ||
"title": "nRF Programmer firmware images application manifest", | ||
"description": "Describes the manifest that decribes application firmware.", | ||
"type": "object", | ||
"properties": { | ||
"$schema": { | ||
"description": "URL to the JSON schema in use", | ||
"type": "string", | ||
"format": "url" | ||
}, | ||
"app_id": { | ||
"description": "Globally unique application ID", | ||
"examples": ["0e68201e-845d-424b-b3c9-1665b4788ef1"], | ||
"type": "string", | ||
"format": "uuid", | ||
"minLength": 1 | ||
}, | ||
"app_name": { | ||
"description": "Display name of the application", | ||
"examples": ["Peripheral LBS"], | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"user_id": { | ||
"description": "ID of the application author. '00005900-0000-1000-8000-00805F9B34FB' is Nordic Semiconductor.", | ||
"examples": [ | ||
"00005900-0000-1000-8000-00805F9B34FB", | ||
"9ff7fed0-ca14-42c2-94f0-c52ec849c51e" | ||
], | ||
"type": "string", | ||
"format": "uuid", | ||
"minLength": 1 | ||
}, | ||
"description": { | ||
"description": "Application description", | ||
"examples": [ | ||
"The Peripheral LBS sample demonstrates how to use the LED Button Service (LBS)." | ||
], | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"tags": { | ||
"description": "Listf of tags (only lowercase characters and space)", | ||
|
||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "string", | ||
"pattern": "^[a-z ]{1,}$", | ||
"examples": ["lbs", "led", "button"] | ||
} | ||
}, | ||
"versions": { | ||
"description": "Available versions", | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"version": { | ||
"description": "The semantic version identifier", | ||
"examples": ["1.0.0"], | ||
"type": "string", | ||
"pattern": "^[0-9]+.[0-9]+.[0-9]+$" | ||
}, | ||
"release_notes": { | ||
"description": "Release notes for this version", | ||
"examples": ["Initial release"], | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"requires_bonding": { | ||
"description": "Whether this version of the application requires Bluetooth Low Energy bonding.", | ||
"type": "boolean" | ||
}, | ||
"links": { | ||
"description": "Links to further information about this version of the application", | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"text": { | ||
"description": "Label for the link", | ||
"examples": ["Documentation"], | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"url": { | ||
"description": "The URL to use for the link", | ||
"examples": [ | ||
"https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/samples/bluetooth/peripheral_lbs/README.html" | ||
], | ||
"type": "string", | ||
"format": "url" | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": ["text", "url"] | ||
} | ||
}, | ||
"board": { | ||
"description": "Describes the hardware this application can be flashed to", | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"description": "The identifier of the board", | ||
"enum": ["thingy53_nrf5340"] | ||
}, | ||
"build_config": { | ||
"description": "The available images for the board", | ||
"type": "array", | ||
"minItems": 1, | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"description": "The identifier of the image", | ||
"examples": ["sample"], | ||
"type": "string", | ||
"minLength": 1 | ||
}, | ||
"file": { | ||
"description": "The filename of the image, relative to the URL of the manifest", | ||
"type": "string", | ||
"minLength": 1 | ||
} | ||
}, | ||
"required": ["name", "file"], | ||
"additionalProperties": false | ||
} | ||
} | ||
}, | ||
"required": ["name", "build_config"], | ||
"additionalProperties": false | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"version", | ||
"release_notes", | ||
"requires_bonding", | ||
"links", | ||
"board" | ||
] | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"$schema", | ||
"app_id", | ||
"app_name", | ||
"user_id", | ||
"description", | ||
"tags", | ||
"versions" | ||
] | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.