JSONSchemata 0.0.0.dev50__tar.gz → 0.0.0.dev52__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. {jsonschemata-0.0.0.dev50/src/JSONSchemata.egg-info → jsonschemata-0.0.0.dev52}/PKG-INFO +3 -3
  2. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/pyproject.toml +3 -3
  3. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52/src/JSONSchemata.egg-info}/PKG-INFO +3 -3
  4. jsonschemata-0.0.0.dev52/src/JSONSchemata.egg-info/requires.txt +4 -0
  5. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/array/unique-strings.yaml +2 -2
  6. jsonschemata-0.0.0.dev52/src/jsonschemata/_data/color/css.yaml +15 -0
  7. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/color/hex-string.yaml +4 -6
  8. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/color/hsl-string.yaml +10 -8
  9. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/color/rgb-string.yaml +12 -8
  10. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/config/github/form/body.yaml +9 -9
  11. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/config/github/label/description.yaml +1 -1
  12. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/date/yyyy-mm-dd.yaml +5 -3
  13. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/spdx-license.yaml +3 -2
  14. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/http-ftp-sftp.yaml +1 -1
  15. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/http-implicit.yaml +1 -1
  16. jsonschemata-0.0.0.dev50/src/JSONSchemata.egg-info/requires.txt +0 -4
  17. jsonschemata-0.0.0.dev50/src/jsonschemata/_data/color/css.yaml +0 -14
  18. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/LICENSE +0 -0
  19. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/MANIFEST.in +0 -0
  20. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/README.md +0 -0
  21. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/setup.cfg +0 -0
  22. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/JSONSchemata.egg-info/SOURCES.txt +0 -0
  23. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/JSONSchemata.egg-info/dependency_links.txt +0 -0
  24. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/JSONSchemata.egg-info/not-zip-safe +0 -0
  25. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/JSONSchemata.egg-info/top_level.txt +0 -0
  26. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/__init__.py +0 -0
  27. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/color/css-name.yaml +0 -0
  28. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/color/hsl-array.yaml +0 -0
  29. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/color/hsla-array.yaml +0 -0
  30. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/color/rgb-array.yaml +0 -0
  31. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/color/rgba-array.yaml +0 -0
  32. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/doi.yaml +0 -0
  33. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/email.yaml +0 -0
  34. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/github/node.yaml +0 -0
  35. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/github/rest.yaml +0 -0
  36. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/github/user.yaml +0 -0
  37. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/linkedin.yaml +0 -0
  38. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/orcid.yaml +0 -0
  39. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/researchgate.yaml +0 -0
  40. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/id/twitter.yaml +0 -0
  41. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/integer/non-negative.yaml +0 -0
  42. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/number/non-negative.yaml +0 -0
  43. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/path/dir-name.yaml +0 -0
  44. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/path/posix/absolute-from-cwd.yaml +0 -0
  45. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/string/nonempty.yaml +0 -0
  46. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/string/oneline.yaml +0 -0
  47. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/uri/mailto.yaml +0 -0
  48. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/README.md +0 -0
  49. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/ftp.yaml +0 -0
  50. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/github/user.yaml +0 -0
  51. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/http-explicit.yaml +0 -0
  52. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/https.yaml +0 -0
  53. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/linkedin/company.yaml +0 -0
  54. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/linkedin/person.yaml +0 -0
  55. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/linkedin/user.yaml +0 -0
  56. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/orcid/user.yaml +0 -0
  57. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/researchgate/institution.yaml +0 -0
  58. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/researchgate/lab.yaml +0 -0
  59. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/researchgate/person.yaml +0 -0
  60. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/researchgate/user.yaml +0 -0
  61. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/sftp.yaml +0 -0
  62. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/_data/url/twitter/user.yaml +0 -0
  63. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/edit.py +0 -0
  64. {jsonschemata-0.0.0.dev50 → jsonschemata-0.0.0.dev52}/src/jsonschemata/registry.py +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: JSONSchemata
3
- Version: 0.0.0.dev50
3
+ Version: 0.0.0.dev52
4
4
  Requires-Python: >=3.10
5
5
  License-File: LICENSE
6
6
  Requires-Dist: referencing>=0.35.1
7
7
  Requires-Dist: PkgData==0.0.0.dev5
8
- Requires-Dist: PySerials==0.0.0.dev54
9
- Requires-Dist: PyLinks==0.0.0.dev64
8
+ Requires-Dist: PySerials==0.0.0.dev56
9
+ Requires-Dist: PyLinks==0.0.0.dev66
@@ -17,12 +17,12 @@ namespaces = true
17
17
  # ----------------------------------------- Project Metadata -------------------------------------
18
18
  #
19
19
  [project]
20
- version = "0.0.0.dev50"
20
+ version = "0.0.0.dev52"
21
21
  name = "JSONSchemata"
22
22
  dependencies = [
23
23
  "referencing >= 0.35.1",
24
24
  "PkgData == 0.0.0.dev5",
25
- "PySerials == 0.0.0.dev54",
26
- "PyLinks == 0.0.0.dev64",
25
+ "PySerials == 0.0.0.dev56",
26
+ "PyLinks == 0.0.0.dev66",
27
27
  ]
28
28
  requires-python = ">=3.10"
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: JSONSchemata
3
- Version: 0.0.0.dev50
3
+ Version: 0.0.0.dev52
4
4
  Requires-Python: >=3.10
5
5
  License-File: LICENSE
6
6
  Requires-Dist: referencing>=0.35.1
7
7
  Requires-Dist: PkgData==0.0.0.dev5
8
- Requires-Dist: PySerials==0.0.0.dev54
9
- Requires-Dist: PyLinks==0.0.0.dev64
8
+ Requires-Dist: PySerials==0.0.0.dev56
9
+ Requires-Dist: PyLinks==0.0.0.dev66
@@ -0,0 +1,4 @@
1
+ referencing>=0.35.1
2
+ PkgData==0.0.0.dev5
3
+ PySerials==0.0.0.dev56
4
+ PyLinks==0.0.0.dev66
@@ -2,7 +2,7 @@ $id: https://jsonschemata.repodynamics.com/array/unique-strings
2
2
  $schema: https://json-schema.org/draft/2020-12/schema
3
3
  title: Array of Unique Strings
4
4
  description: |
5
- A non-empty array of unique strings.
5
+ An array of non-empty strings with unique elements.
6
6
  type: array
7
7
  uniqueItems: true
8
8
  minItems: 0
@@ -10,4 +10,4 @@ items:
10
10
  type: string
11
11
  minLength: 1
12
12
  examples:
13
- - [ string1, string2, string3 ]
13
+ - [ string1, string2, string3 ]
@@ -0,0 +1,15 @@
1
+ $id: https://jsonschemata.repodynamics.com/color/css
2
+ $schema: https://json-schema.org/draft/2020-12/schema
3
+ title: CSS Color String
4
+ description: |
5
+ A [CSS `color` property](https://developer.mozilla.org/en-US/docs/Web/CSS/color) as a string.
6
+
7
+ This can be a [`<named-color>`](https://developer.mozilla.org/en-US/docs/Web/CSS/named-color),
8
+ a [`<hex-color>`](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color),
9
+ an [`rgb()`/`rgba()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb) functional notation,
10
+ or an [`hsl()`/`hsla()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl) functional notation.
11
+ oneOf:
12
+ - $ref: https://jsonschemata.repodynamics.com/color/css-name
13
+ - $ref: https://jsonschemata.repodynamics.com/color/hex-string
14
+ - $ref: https://jsonschemata.repodynamics.com/color/rgb-string
15
+ - $ref: https://jsonschemata.repodynamics.com/color/hsl-string
@@ -2,13 +2,11 @@ $id: https://jsonschemata.repodynamics.com/color/hex-string
2
2
  $schema: https://json-schema.org/draft/2020-12/schema
3
3
  title: Hex RGB Color String
4
4
  description: |
5
- A hexadecimal color in the sRGB color space
6
- acoording to its red, green, and blue components.
7
- An optional alpha channel may be specified for transparency.
5
+ A [hexadecimal color](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color)
6
+ in the sRGB color space.
8
7
 
9
- For more information, see:
10
- - [CSS hex-color](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color)
11
-
8
+ The color is defined according to its red, green, and blue components, respectively.
9
+ An optional alpha channel may be specified for transparency.
12
10
  type: string
13
11
  pattern: ^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$
14
12
  examples:
@@ -3,17 +3,19 @@ $schema: https://json-schema.org/draft/2020-12/schema
3
3
  title: HSL Color String
4
4
  description: |
5
5
  A CSS [`hsl()`/`hsla()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl)
6
- functional notation expressing a
7
- [CSS `color` property](https://developer.mozilla.org/en-US/docs/Web/CSS/color)
8
- in the sRGB color space
9
- according to its hue, saturation, and lightness components.
6
+ functional notation.
7
+
8
+ This expresses a [CSS `color` property](https://developer.mozilla.org/en-US/docs/Web/CSS/color)
9
+ in the sRGB color space according to its hue, saturation, and lightness components.
10
10
  An optional alpha channel may be specified for transparency.
11
11
  type: string
12
12
  oneOf:
13
- # New format
14
- - pattern: ^hsla?\(\s*((([+-]?\d*\.?\d+(?:[eE][+-]?\d+)?)(deg|rad|grad|turn)?)|(none))\s*((\+?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*((\+?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*(/\s*((\+?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*)?\)$
15
- # Old format
16
- - pattern: ^hsla?\(\s*(([+-]?\d*\.?\d+(?:[eE][+-]?\d+)?)(?P<h_unit>deg|rad|grad|turn)?)\s*,\s*(\+?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*,\s*(\+?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*(,\s*(\+?\d*\.?\d+(?:[eE][+-]?\d+)?%?)\s*)?\)$
13
+ - title: New Format
14
+ description: New format for hsl/hsla functional notations.
15
+ pattern: ^hsla?\(\s*((([+-]?\d*\.?\d+(?:[eE][+-]?\d+)?)(deg|rad|grad|turn)?)|(none))\s*((\+?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*((\+?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*(/\s*((\+?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*)?\)$
16
+ - title: Old format
17
+ description: Old format for hsl/hsla functional notations.
18
+ pattern: ^hsla?\(\s*(([+-]?\d*\.?\d+(?:[eE][+-]?\d+)?)(?P<h_unit>deg|rad|grad|turn)?)\s*,\s*(\+?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*,\s*(\+?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*(,\s*(\+?\d*\.?\d+(?:[eE][+-]?\d+)?%?)\s*)?\)$
17
19
  examples:
18
20
  - 'hsl(0, 100%, 50%)'
19
21
  - 'hsl(120, 100%, 50%)'
@@ -3,18 +3,22 @@ $schema: https://json-schema.org/draft/2020-12/schema
3
3
  title: RGB(A) Color String
4
4
  description: |
5
5
  A CSS [`rgb()`/`rgba()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb)
6
- functional notation expressing a
7
- [CSS `color` property](https://developer.mozilla.org/en-US/docs/Web/CSS/color)
6
+ functional notation.
7
+
8
+ This expresses a [CSS `color` property](https://developer.mozilla.org/en-US/docs/Web/CSS/color)
8
9
  in the sRGB color space according to its red, green, and blue components.
9
10
  An optional alpha channel may be specified for transparency.
10
11
  type: string
11
12
  oneOf:
12
- # New format
13
- - pattern: ^rgba?\(\s*(([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*(([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*(([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*(/\s*(([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*)?\)$
14
- # Old format (numbers)
15
- - pattern: ^rgba?\(\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?)\s*,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?)\s*,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?)\s*(,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)\s*)?\)$
16
- # Old format (percentages)
17
- - pattern: ^rgba?\(\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*(,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)\s*)?\)$
13
+ - title: New Format
14
+ description: New format for rgb/rgba functional notations.
15
+ pattern: ^rgba?\(\s*(([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*(([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*(([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*(/\s*(([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)|(none))\s*)?\)$
16
+ - title: Old Format (Numbers)
17
+ description: Old format for rgb/rgba functional notations using numbers
18
+ pattern: ^rgba?\(\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?)\s*,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?)\s*,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?)\s*(,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)\s*)?\)$
19
+ - title: Old Format (Percentages)
20
+ description: Old format for rgb/rgba functional notations using percentages.
21
+ pattern: ^rgba?\(\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%)\s*(,\s*([+]?\d*\.?\d+(?:[eE][+-]?\d+)?%?)\s*)?\)$
18
22
  examples:
19
23
  - 'rgb(255, 0, 0)'
20
24
  - 'rgb(0,255,0)'
@@ -1,14 +1,14 @@
1
1
  $id: https://jsonschemata.repodynamics.com/config/github/form/body
2
2
  title: GitHub Form Body
3
3
  description: |
4
- Definition of the elements in a GitHub form, according to GitHub's
5
- [syntax for GitHub's form schema](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema),
6
- which is shared between issue forms and discussion category forms.
4
+ Definition of elements in a GitHub form.
7
5
 
8
- Each form must have a body, defined as an array of form elements for requesting user input.
6
+ According to GitHub's
7
+ [syntax for GitHub's form schema](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema),
8
+ which is shared between issue forms and discussion category forms,
9
+ each form must have a body, defined as an array of elements for requesting user input.
9
10
  Each form element itself is defined as a set of key-value pairs
10
- that determine the type of the element, the properties of the element,
11
- and the constraints you want to apply to the element.
11
+ that determine the type of the element, its properties, and additional constraints.
12
12
  type: array
13
13
  minItems: 1
14
14
  items:
@@ -18,14 +18,13 @@ items:
18
18
  required: [ type, attributes ]
19
19
  properties:
20
20
  type:
21
- title: Type
22
21
  description: Type of the element.
23
22
  type: string
24
23
  enum: [ checkboxes, dropdown, input, markdown, textarea ]
25
24
  attributes:
26
- title: Attributes
27
25
  description: |
28
26
  A set of key-value pairs that define the attributes of the element.
27
+
29
28
  Depending on the `type` of the element, different keys are available,
30
29
  defined in GitHub's [form schema syntax](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema).
31
30
  type: object
@@ -34,15 +33,16 @@ items:
34
33
  title: ID
35
34
  description: |
36
35
  The canonical identifier for the element in URL query parameter prefills.
36
+
37
37
  It can only use alpha-numeric characters, hyphens, and underscores,
38
38
  and must be unique in the form definition.
39
39
  Note that `markdown` elements cannot have an ID.
40
40
  type: string
41
41
  pattern: ^[A-Za-z][A-Za-z0-9_-]*$
42
42
  validations:
43
- title: Validations
44
43
  description: |
45
44
  A set of key-value pairs that set constraints on the element.
45
+
46
46
  Depending on the `type` of the element, different keys are available,
47
47
  defined in GitHub's [form schema syntax](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema).
48
48
  type: object
@@ -1,6 +1,6 @@
1
1
  $id: https://jsonschemata.repodynamics.com/config/github/label/description
2
2
  title: GitHub Label Description
3
- description: Description of a GitHub label.
3
+ description: Description for a GitHub label.
4
4
  type: string
5
5
  maxLength: 100
6
6
  examples:
@@ -1,10 +1,12 @@
1
1
  $id: https://jsonschemata.repodynamics.com/date/yyyy-mm-dd
2
2
  $schema: https://json-schema.org/draft/2020-12/schema
3
- title: Date (YYYY-MM-DD)
3
+ title: Date (ISO 8601)
4
4
  description: |
5
- A date in the format `YYYY-MM-DD`, e.g., `2024-12-31`.
5
+ A date in the ISO 8601 format.
6
+
7
+ This corresponds to a 4-digit year, a 2-digit month and a 2-digit day separated by hyphens,
8
+ i.e., `YYYY-MM-DD`.
6
9
  type: string
7
- format: date
8
10
  pattern: ^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$
9
11
  examples:
10
12
  - '1900-01-01'
@@ -3,9 +3,10 @@ $schema: https://json-schema.org/draft/2020-12/schema
3
3
  $comment: |
4
4
  Use https://github.com/citation-file-format/get-spdx-licenses to update
5
5
  this enum in the future
6
- title: >-
7
- [SPDX](https://spdx.org/licenses/) license ID.
6
+ title: SPDX License ID
8
7
  description: |
8
+ An [SPDX](https://spdx.org/licenses/) license identifier.
9
+
9
10
  For a full list of machine-readable SPDX license identifiers, see the
10
11
  [SPDX GitHub repository](https://raw.githubusercontent.com/spdx/license-list-data/master/json/licenses.json)
11
12
  or the [CFF GitHub repository](https://github.com/citation-file-format/get-spdx-licenses).
@@ -1,6 +1,6 @@
1
1
  $id: https://jsonschemata.repodynamics.com/url/http-ftp-sftp
2
2
  $schema: https://json-schema.org/draft/2020-12/schema
3
- title: FTP(S) URL
3
+ title: Explicit URL
4
4
  description: |
5
5
  A URL with an explicit FTP(S) scheme.
6
6
  type: string
@@ -1,6 +1,6 @@
1
1
  $id: https://jsonschemata.repodynamics.com/url/http-implicit
2
2
  $schema: https://json-schema.org/draft/2020-12/schema
3
- title: HTTP(S) URL
3
+ title: Implicit HTTP(S) URL
4
4
  description: |
5
5
  A URL with an optional HTTP or HTTPS scheme.
6
6
  type: string
@@ -1,4 +0,0 @@
1
- referencing>=0.35.1
2
- PkgData==0.0.0.dev5
3
- PySerials==0.0.0.dev54
4
- PyLinks==0.0.0.dev64
@@ -1,14 +0,0 @@
1
- $id: https://jsonschemata.repodynamics.com/color/css
2
- $schema: https://json-schema.org/draft/2020-12/schema
3
- title: CSS Color
4
- description: |
5
- A [CSS `color` property](https://developer.mozilla.org/en-US/docs/Web/CSS/color),
6
- which can be a [`<named-color>`](https://developer.mozilla.org/en-US/docs/Web/CSS/named-color),
7
- a [`<hex-color>`](https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color),
8
- an [`rgb()`/`rgba()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb) functional notation,
9
- or an [`hsl()`/`hsla()`](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl) funcional notation.
10
- oneOf:
11
- - $ref: https://jsonschemata.repodynamics.com/color/css-name
12
- - $ref: https://jsonschemata.repodynamics.com/color/hex-string
13
- - $ref: https://jsonschemata.repodynamics.com/color/rgb-string
14
- - $ref: https://jsonschemata.repodynamics.com/color/hsl-string