Skip to content

Commit c689d7f

Browse files
irinaschubertBalduinLandolt
andauthored
docs(typo): correct typo in documentation (#85)
* Update dsp-tools-create.md * fix wrong quotes * correct obvious errors * correct wrong integer values * Update knora/README.md Co-authored-by: Balduin Landolt <33053745+BalduinLandolt@users.noreply.github.com> * delete incorrect new line * Update README.md Co-authored-by: Balduin Landolt <33053745+BalduinLandolt@users.noreply.github.com>
1 parent 4782f35 commit c689d7f

2 files changed

Lines changed: 482 additions & 367 deletions

File tree

‎docs/dsp-tools-create.md‎

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ Represents a text that may contain standoff markup.
686686
},
687687
"gui_element": "SimpleText",
688688
"gui_attributes": {
689-
"maxlength": "255",
689+
"maxlength": 255,
690690
"size": 80
691691
}
692692
}
@@ -728,7 +728,8 @@ Represents a date. It's a string with the format `calendar:start:end`
728728
Please note that the DateValue is an extremely flexible data type. It can represent an exact date or a date with a given
729729
uncertainty, and the date can be given in several calendars (currently the Gregorian and the Julian calendars are supported, with
730730
the Jewish and Islamic coming soon). Internally, a date is always represented as a start and end date. If start and end date
731-
match, it's an exact date. A value like "1893" will automatically be expanded to a range from January 1st 1893 to December 31st 1893.
731+
match, it's an exact date. A value like "1893" will automatically be expanded to a range from January 1st 1893 to December 31st
732+
1893.
732733

733734
- _calendar_ is either _GREGORIAN_ or _JULIAN_
734735
- _start_ has the form _yyyy_-_mm_-_dd_. If only the year is given, the precision is to the year. If only the year and month is
@@ -775,7 +776,7 @@ A number with decimal point.
775776
"maxlength=integer" and "size=integer" are optional.
776777
- _gui_attributes_:
777778
- `maxlength=integer` (optional): maximum number of characters accepted
778-
- `size=integer"` (optional): size of the input field
779+
- `size=integer` (optional): size of the input field
779780

780781
*Example:*
781782

@@ -791,7 +792,7 @@ A number with decimal point.
791792
},
792793
"gui_element": "SimpleText",
793794
"gui_attributes": {
794-
"maxlength": "255",
795+
"maxlength": 255,
795796
"size": 80
796797
}
797798
}
@@ -867,12 +868,12 @@ Represents an integer value.
867868
"maxlength=integer" and "size=integer" are optional.
868869
- _gui_attributes_:
869870
- `maxlength=integer` (optional): The maximum number of characters accepted
870-
- `size=integer"` (optional): The size of the input field
871+
- `size=integer` (optional): The size of the input field
871872
- `Spinbox`: A GUI element for _IntegerValue_. A text field with and "up"- and "down"-button for increment/decrement. The
872873
attributes "max=decimal" and "min=decimal" are optional.
873874
- _gui_attributes_:
874-
- `max=integer` (optional): Maximal value
875-
- `min=integer` (optional): Minimal value
875+
- `max=decimal` (optional): Maximal value
876+
- `min=decimal` (optional): Minimal value
876877

877878
*Example:*
878879

@@ -933,7 +934,7 @@ Represents an URI
933934
"maxlength=integer" and "size=integer" are optional.
934935
- _gui_attributes_:
935936
- `maxlength=integer` (optional): The maximum number of characters accepted
936-
- `size=integer"` (optional): The size of the input field
937+
- `size=integer` (optional): The size of the input field
937938

938939
*Example:*
939940

@@ -949,7 +950,7 @@ Represents an URI
949950
},
950951
"gui_element": "SimpleText",
951952
"gui_attributes": {
952-
"maxlength": "255",
953+
"maxlength": 255,
953954
"size": 80
954955
}
955956
}
@@ -967,7 +968,7 @@ Represents a time-interval
967968
"maxlength=integer" and "size=integer" are optional.
968969
- _gui_attributes_:
969970
- `maxlength=integer` (optional): The maximum number of characters accepted
970-
- `size=integer"` (optional): The size of the input field
971+
- `size=integer` (optional): The size of the input field
971972
- `Interval`: not yet implemented.
972973
- _gui_attributes_: No attributes
973974

@@ -1163,8 +1164,8 @@ The following parent predefined resources are provided by DSP:
11631164
- `hasComment` (1-n)
11641165
- `isAnnotationOf` (1)
11651166
- `LinkObj`: A resource class linking together several other, generic, resource classes. The class has the following properties:
1166-
- `hasComment` (1-n)
1167-
- `hasLinkTo` (1-n)
1167+
- `hasComment` (1-n)
1168+
- `hasLinkTo` (1-n)
11681169
- `Region`: Represents a simple region. The class has the following properties:
11691170
- `hasColor` (1)
11701171
- `isRegionOf` (1)

0 commit comments

Comments
 (0)