-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathschema-07.json
144 lines (144 loc) · 3.91 KB
/
schema-07.json
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/pyrox0/fursona-schema/main/schema-07.json",
"additionalProperties": false,
"title": "Schema for .well-known/fursona, version 1.1",
"description": "A description of someone's fursona(s).",
"type": "object",
"properties": {
"sonas": {
"description": "The list of fursonas.",
"type": "array",
"items": {
"$ref": "#/definitions/sona"
}
}
},
"required": [
"sonas"
],
"definitions": {
"galleryItem": {
"$id": "galleryItem",
"description": "An image gallery item",
"type": "object",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"format": "uri",
"qt-uri-protocols": [
"http",
"https",
"gemini",
"ftp"
]
},
"imageAlt": {
"type": "string"
},
"imageAttribution": {
"type": "string"
},
"description": {
"type": "string",
"maxLength": 500
}
}
},
"sona": {
"$id": "sona",
"description": "A single fursona",
"type": "object",
"required": [
"ref"
],
"properties": {
"name": {
"description": "The name of this fursona.",
"type": "string"
},
"pronouns": {
"description": "This fursona's pronouns.",
"type": "string"
},
"gender": {
"description": "This fursona's gender.",
"type": "string"
},
"species": {
"description": "This fursona's species.",
"type": "string"
},
"description": {
"description": "Any additional notes or links for this fursona.",
"type": "string",
"maxLength": 250
},
"ref": {
"description": "A link to a ref for this fursona. Should be an image file.",
"type": "string",
"format": "uri",
"qt-uri-protocols": [
"http",
"https",
"gemini",
"ftp"
]
},
"refAlt": {
"description": "Alt text to be added to the ref sheet image. Not required but highly encouraged.",
"type": "string"
},
"refAttribution": {
"description": "Attribution for the ref sheet, in whatever format you want. Not required, but strongly encouraged.",
"type": "string"
},
"avatar": {
"description": "An image file to use as an avatar, if needed.",
"type": "string",
"format": "uri",
"qt-uri-protocols": [
"http",
"https",
"gemini",
"ftp"
]
},
"avatarAlt": {
"description": "Alt text for the avatar. Like refAlt, not required but highly encouraged.",
"type": "string"
},
"avatarAttribution": {
"description": "Attribution for the avatar image, in whatever format you want. Not required, but strongly encouraged.",
"type": "string"
},
"age": {
"description": "This fursona's age.",
"type": "integer"
},
"birthdate": {
"description": "The birthdate of the fursona.",
"type": "string"
},
"colors": {
"description": "The fursona's colors. Should be an array of 3 or 6-digit hex codes, which can be prefixed with a hashtag.",
"type": "array",
"items": {
"type": "string",
"pattern": "^#?([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$"
}
},
"gallery": {
"description": "A list of additional images to display",
"type": "array",
"items": {
"$ref": "galleryItem"
}
}
}
}
}
}