36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": [
|
|
"source-artifact-refs",
|
|
"id",
|
|
"problem-domain",
|
|
"target-user",
|
|
"triggering-event",
|
|
"current-alternative",
|
|
"why-now",
|
|
"founder-fit"
|
|
],
|
|
"properties": {
|
|
"source-artifact-refs": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["artifact-id", "artifact-sha256"],
|
|
"properties": {
|
|
"artifact-id": {"type": "string", "minLength": 1},
|
|
"artifact-sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}
|
|
}
|
|
}
|
|
},
|
|
"id": {"type": "string", "minLength": 1},
|
|
"problem-domain": {"type": "string", "minLength": 1},
|
|
"target-user": {"type": "string", "minLength": 1},
|
|
"triggering-event": {"type": "string", "minLength": 1},
|
|
"current-alternative": {"type": "string", "minLength": 1},
|
|
"why-now": {"type": "string", "minLength": 1},
|
|
"founder-fit": {"type": "string", "minLength": 1}
|
|
}
|
|
}
|