38 lines
1.3 KiB
JSON
38 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"type": "object",
|
|
"required": ["requirement_name", "tasks", "open_questions"],
|
|
"properties": {
|
|
"requirement_name": {"type": "string"},
|
|
"tasks": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["name", "sources", "targets", "field_mappings", "rules"],
|
|
"properties": {
|
|
"name": {"type": "string"},
|
|
"sources": {"type": "array", "items": {"type": "string"}},
|
|
"targets": {"type": "array", "items": {"type": "string"}},
|
|
"field_mappings": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["source_field", "target_field", "transformation"],
|
|
"properties": {
|
|
"source_field": {"type": "string"},
|
|
"target_field": {"type": "string"},
|
|
"transformation": {"type": ["string", "null"]}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"rules": {"type": "array", "items": {"type": "string"}}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"open_questions": {"type": "array", "items": {"type": "string"}}
|
|
},
|
|
"additionalProperties": false
|
|
}
|