As a user cataloguing data, I want to be able to record where the data came from in terms of how it was produced, what system was used and what the source of the data was.
Note: We need to add question marks that reveal examples.
The actual data used shouldn't be exactly like the screenshot - it should match this:
{
"mechanism": {
"description": "How was it produced?",
"type": "string"
},
"sourceSystem": {
"description": "What system, if any, was used to produce the data?",
"type": "string"
},
"derivedFrom": {
"description": "What other record(s), if any, was this data derived from?",
"type": "object",
"properties": {
"id": {
"description": "The id(s) of the record(s)",
"type": "array",
"items": {
"description": "The id of the record",
"type": "string",
"links": [
{
"href": "/api/v0/registry/records/{$}",
"rel": "item"
}
]
}
}
}
},
"affiliatedOrganisationIds": {
"description": "Which other organisation(s), if any, was this produced in collaboration with?",
"type": "array",
"items": {
"type": "string",
"links": [
{
"href": "/api/v0/registry/records/{$}",
"rel": "item"
}
]
}
},
"isOpenData": {
"description": "Is it already released as open data?",
"type": "boolean"
}
}
Acceptance Criteria
Input controls exist for all the items in the new schema
It's possible to type lengthy responses in
A question mark icon is attached to each question that reveals an example below it (see the lightbulbs in previous pages)
For derivedFrom the field should be a textbox with suggestions like the keywords input:
If dataset already exists, you should be able to click a suggestion to add it
If the dataset doesn't exist, you should be able to add it (as a string) - this will prompt you to either add it as a draft (via the add dataset flow) or leave it as an empty string. We'll need some kind of sketch of this @alyce :).
So if we used the react autosuggestion multiple sections options and an add new feature we could potentially do a autoauggestion/selection drop down that solves all 3 scenarios in one go:
As a user cataloguing data, I want to be able to record where the data came from in terms of how it was produced, what system was used and what the source of the data was.
Note: We need to add question marks that reveal examples.
The actual data used shouldn't be exactly like the screenshot - it should match this:
Acceptance Criteria
derivedFrom
the field should be a textbox with suggestions like the keywords input: