init: document-haness 하네스 설계
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://claridoc.local/schemas/source-pack.schema.json",
|
||||
"title": "ClariDoc source pack",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["sources"],
|
||||
"properties": {
|
||||
"sources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "title", "url"],
|
||||
"properties": {
|
||||
"id": {"type": "string", "pattern": "^[A-Za-z0-9_-]+$", "minLength": 1},
|
||||
"title": {"type": "string", "minLength": 1},
|
||||
"url": {"type": "string", "minLength": 1},
|
||||
"publisher": {"type": "string"},
|
||||
"accessed": {"type": "string"},
|
||||
"facts": {"type": "array", "items": {"type": "string", "minLength": 1}},
|
||||
"notes": {"type": "string"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user