ControlledField » History » Version 3
Claudio Atzori, 17/11/2021 09:50 AM
| 1 | 1 | Claudio Atzori | h1. ControlledField |
|---|---|---|---|
| 2 | |||
| 3 | Generic type used to represent the information described by a scheme and a value in that scheme (i.e. pid). |
||
| 4 | |||
| 5 | |_. field name |_. cardinality |_. type |_. description | |
||
| 6 | | scheme | ONE | string | vocabulary reference | |
||
| 7 | | value | ONE | string | value from the given scheme/vocabulary | |
||
| 8 | |||
| 9 | Example data |
||
| 10 | |||
| 11 | <pre> |
||
| 12 | { |
||
| 13 | "scheme" : "DOI", |
||
| 14 | 2 | Claudio Atzori | "value" : "10.5281/zenodo.4707307" |
| 15 | 1 | Claudio Atzori | } |
| 16 | </pre> |
||
| 17 | 3 | Claudio Atzori | |
| 18 | TODO: this is a generic type, add more examples to illustrate how it is used. |