forked from rubytoolbox/catalog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
json-schema.yml
54 lines (54 loc) · 1.25 KB
/
json-schema.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
"$schema": http://json-schema.org/draft-04/schema#
title: The Ruby Toolbox Catalog
type: object
required:
- category_groups
additionalProperties: false
properties:
category_groups:
type: array
minItems: 1
items:
additionalProperties: false
required:
- name
- permalink
- description
- categories
properties:
name:
type: string
permalink:
type: string
pattern: "^([A-Za-z0-9\\/\\-_]{3,30})$"
description:
type:
- string
- ~
categories:
type: array
minItems: 1
items:
additionalProperties: false
required:
- name
- permalink
- description
- projects
properties:
name:
type: string
permalink:
type: string
pattern: "^([A-Za-z0-9\\/\\-_]{3,30})$"
description:
type:
- string
- ~
projects:
type: array
minItems: 1
items:
type: string
pattern: "^([A-Za-z0-9\\/\\-\\._]{1,150})$"