This commit is contained in:
tree 2023-06-28 12:02:42 +02:00
rodič 1b933ed95d
revize 25c5333eb8
5 změnil soubory, kde provedl 16 přidání a 2 odebrání

Zobrazit soubor

@ -1 +0,0 @@
name: Bluesky Sandbox

Zobrazit soubor

@ -1 +1,2 @@
name: Bluesky
name: Bluesky
plc: https://plc.directory

Zobrazit soubor

@ -0,0 +1,2 @@
name: Bluesky Sandbox
plc: https://plc.bsky-sandbox.dev

11
schema/federation.yaml Normal file
Zobrazit soubor

@ -0,0 +1,11 @@
type: object
additionalProperties: false
properties:
id:
type: string
pattern: '^[a-z0-9-]+$'
name:
type: string
plc:
type: string
format: url

Zobrazit soubor

@ -6,6 +6,7 @@ const DATA_PATH = "./data";
const SCHEMA_PATH = "./schema";
const SCHEMA_MAP = {
clients: "client",
federations: "federation",
};
async function loadYAML(fn) {