fries-website/friends-schema.json
Fries f3b23b14f0 finally update the website after a year.
i updated astro to the latest version. i also finally added more friends
and changed up how the friend data is stored in the repo. it is now json
backed by a schema. it can also display website buttons with alt text!
2024-06-29 01:51:49 -07:00

37 lines
529 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [
"name",
"website",
"description"
],
"properties": {
"name": {
"type": "string"
},
"website": {
"type": "string"
},
"description": {
"type": "string"
},
"website_button": {
"type": "object",
"required": [
"name",
"alt_text"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"alt_text": {
"type": "string",
"minLength": 1
}
}
}
}
}