Skip to content

Commit

Permalink
docs(typo): correct typo in documentation (#85)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
irinaschubert and BalduinLandolt committed Sep 14, 2021
1 parent 4782f35 commit c689d7f
Show file tree
Hide file tree
Showing 2 changed files with 482 additions and 367 deletions.
25 changes: 13 additions & 12 deletions docs/dsp-tools-create.md
Expand Up @@ -686,7 +686,7 @@ Represents a text that may contain standoff markup.
},
"gui_element": "SimpleText",
"gui_attributes": {
"maxlength": "255",
"maxlength": 255,
"size": 80
}
}
Expand Down Expand Up @@ -728,7 +728,8 @@ Represents a date. It's a string with the format `calendar:start:end`
Please note that the DateValue is an extremely flexible data type. It can represent an exact date or a date with a given
uncertainty, and the date can be given in several calendars (currently the Gregorian and the Julian calendars are supported, with
the Jewish and Islamic coming soon). Internally, a date is always represented as a start and end date. If start and end date
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.
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.

- _calendar_ is either _GREGORIAN_ or _JULIAN_
- _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
Expand Down Expand Up @@ -775,7 +776,7 @@ A number with decimal point.
"maxlength=integer" and "size=integer" are optional.
- _gui_attributes_:
- `maxlength=integer` (optional): maximum number of characters accepted
- `size=integer"` (optional): size of the input field
- `size=integer` (optional): size of the input field

*Example:*

Expand All @@ -791,7 +792,7 @@ A number with decimal point.
},
"gui_element": "SimpleText",
"gui_attributes": {
"maxlength": "255",
"maxlength": 255,
"size": 80
}
}
Expand Down Expand Up @@ -867,12 +868,12 @@ Represents an integer value.
"maxlength=integer" and "size=integer" are optional.
- _gui_attributes_:
- `maxlength=integer` (optional): The maximum number of characters accepted
- `size=integer"` (optional): The size of the input field
- `size=integer` (optional): The size of the input field
- `Spinbox`: A GUI element for _IntegerValue_. A text field with and "up"- and "down"-button for increment/decrement. The
attributes "max=decimal" and "min=decimal" are optional.
- _gui_attributes_:
- `max=integer` (optional): Maximal value
- `min=integer` (optional): Minimal value
- `max=decimal` (optional): Maximal value
- `min=decimal` (optional): Minimal value

*Example:*

Expand Down Expand Up @@ -933,7 +934,7 @@ Represents an URI
"maxlength=integer" and "size=integer" are optional.
- _gui_attributes_:
- `maxlength=integer` (optional): The maximum number of characters accepted
- `size=integer"` (optional): The size of the input field
- `size=integer` (optional): The size of the input field

*Example:*

Expand All @@ -949,7 +950,7 @@ Represents an URI
},
"gui_element": "SimpleText",
"gui_attributes": {
"maxlength": "255",
"maxlength": 255,
"size": 80
}
}
Expand All @@ -967,7 +968,7 @@ Represents a time-interval
"maxlength=integer" and "size=integer" are optional.
- _gui_attributes_:
- `maxlength=integer` (optional): The maximum number of characters accepted
- `size=integer"` (optional): The size of the input field
- `size=integer` (optional): The size of the input field
- `Interval`: not yet implemented.
- _gui_attributes_: No attributes

Expand Down Expand Up @@ -1163,8 +1164,8 @@ The following parent predefined resources are provided by DSP:
- `hasComment` (1-n)
- `isAnnotationOf` (1)
- `LinkObj`: A resource class linking together several other, generic, resource classes. The class has the following properties:
- `hasComment` (1-n)
- `hasLinkTo` (1-n)
- `hasComment` (1-n)
- `hasLinkTo` (1-n)
- `Region`: Represents a simple region. The class has the following properties:
- `hasColor` (1)
- `isRegionOf` (1)
Expand Down

0 comments on commit c689d7f

Please sign in to comment.