-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathschema-07.json
99 lines (99 loc) · 2.72 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
{
"$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": {
"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"
},
"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"
},
"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})$"
}
}
}
}
}
}