generated from coulomb/repo-seed
Implement canonical schema foundation
This commit is contained in:
16
schemas/caring_profile.schema.json
Normal file
16
schemas/caring_profile.schema.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://flex-auth.netkingdom/schemas/caring_profile.schema.json",
|
||||
"title": "CaringProfile",
|
||||
"description": "Machine-readable pin for a CARING profile supported by flex-auth.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "standard", "version"],
|
||||
"properties": {
|
||||
"id": {"const": "caring-0.4.0-rc2"},
|
||||
"standard": {"const": "CARING"},
|
||||
"version": {"const": "0.4.0-RC2"},
|
||||
"source": {"type": "string", "minLength": 1},
|
||||
"metadata": {"type": "object", "additionalProperties": true}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user