{
  "openapi": "3.1.0",
  "info": {
    "title": "〇.day",
    "version": "1.0.0",
    "summary": "A derived map of the agentic-research ecosystem: projects, what they publish, and how confidently each coupling was resolved.",
    "description": "Every surface is a static GET and needs no credential. Authored fields are statements a maintainer makes and must not be overridden from activity signals; derived fields are read from each repository's own manifests. The artifact states which is which in its `boundary` block.\n\nGENERATED from the same Zod definition that produces /schema/v1/site-map.json — do not edit."
  },
  "servers": [
    {
      "url": "https://xn--w6j.day"
    }
  ],
  "paths": {
    "/.well-known/site-map.json": {
      "get": {
        "summary": "The whole artifact: entities with their authored and derived halves, asserted couplings, weak ones, coverage gaps, and the vocabulary needed to read them. (canonical)",
        "operationId": "well_known_site_map_json",
        "responses": {
          "200": {
            "description": "The document.",
            "content": {
              "application/json": {
                "schema": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "type": "object",
                  "properties": {
                    "$schema": {
                      "type": "string"
                    },
                    "schema_version": {
                      "type": "number",
                      "const": 1
                    },
                    "note": {
                      "type": "string"
                    },
                    "collected_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "description": "When the collection this was derived from ran, RFC 3339. The map is a point-in-time reading of moving sources; without this a cached copy is indistinguishable from a current one."
                    },
                    "private_inclusive": {
                      "type": "boolean"
                    },
                    "site": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1
                        },
                        "url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "describes": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "name",
                        "url",
                        "describes"
                      ],
                      "additionalProperties": false
                    },
                    "boundary": {
                      "type": "object",
                      "properties": {
                        "authored": {
                          "type": "object",
                          "properties": {
                            "fields": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "meaning": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "fields",
                            "meaning"
                          ],
                          "additionalProperties": false
                        },
                        "derived": {
                          "type": "object",
                          "properties": {
                            "fields": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "meaning": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "fields",
                            "meaning"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "authored",
                        "derived"
                      ],
                      "additionalProperties": false
                    },
                    "entities": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "project",
                              "repository"
                            ]
                          },
                          "repo": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "repo_visibility": {
                            "type": "string",
                            "enum": [
                              "public",
                              "restricted"
                            ]
                          },
                          "sources_read": {
                            "type": "boolean"
                          },
                          "manifests_read": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "unexamined": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "authored": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "domain": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "experimental",
                                      "active",
                                      "stable",
                                      "dormant",
                                      "archived"
                                    ]
                                  },
                                  "visibility": {
                                    "type": "string",
                                    "enum": [
                                      "public",
                                      "mixed"
                                    ]
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "primitive": {
                                    "type": "string"
                                  },
                                  "description": {
                                    "type": "string"
                                  },
                                  "relationships": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "project": {
                                          "type": "string"
                                        },
                                        "verb": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "project",
                                        "verb"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "name",
                                  "domain",
                                  "status",
                                  "visibility",
                                  "question",
                                  "primitive",
                                  "description",
                                  "relationships"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "derived": {
                            "type": "object",
                            "properties": {
                              "depends_on": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/$defs/Coupling"
                                }
                              },
                              "depended_on_by": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/$defs/Coupling"
                                }
                              }
                            },
                            "required": [
                              "depends_on",
                              "depended_on_by"
                            ],
                            "additionalProperties": false
                          },
                          "links": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string",
                                  "enum": [
                                    "site",
                                    "source",
                                    "docs",
                                    "writing"
                                  ]
                                },
                                "href": {
                                  "type": "string",
                                  "minLength": 1
                                }
                              },
                              "required": [
                                "label",
                                "href"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "repo",
                          "repo_visibility",
                          "sources_read",
                          "manifests_read",
                          "unexamined",
                          "authored",
                          "derived",
                          "links"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "edges": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/Edge"
                      }
                    },
                    "weak_edges": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/Edge"
                      }
                    },
                    "unresolved": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "from": {
                            "type": "string"
                          },
                          "want": {
                            "type": "string"
                          },
                          "via": {
                            "type": "string"
                          },
                          "reason": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "from",
                          "want",
                          "via",
                          "reason"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "ownership": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "coordinate": {
                            "type": "string",
                            "minLength": 1
                          },
                          "kind": {
                            "type": "string"
                          },
                          "repo": {
                            "type": "string"
                          },
                          "where": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "contested": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "coordinate",
                          "kind",
                          "repo",
                          "where",
                          "contested"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "declarations": {
                      "type": "object",
                      "properties": {
                        "parsed": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "distinct": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "parsed",
                        "distinct"
                      ],
                      "additionalProperties": false
                    },
                    "edge_kinds": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "reserved_edge_kinds": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "resolution": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "confidence": {
                            "type": "string",
                            "enum": [
                              "exact",
                              "convention",
                              "by-name"
                            ]
                          },
                          "how": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "confidence",
                          "how"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "$schema",
                    "schema_version",
                    "note",
                    "collected_at",
                    "private_inclusive",
                    "site",
                    "boundary",
                    "entities",
                    "edges",
                    "weak_edges",
                    "unresolved",
                    "ownership",
                    "declarations",
                    "edge_kinds",
                    "reserved_edge_kinds",
                    "resolution"
                  ],
                  "additionalProperties": false,
                  "$defs": {
                    "Coupling": {
                      "type": "object",
                      "properties": {
                        "project": {
                          "type": "string"
                        },
                        "kinds": {
                          "minItems": 1,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "library",
                              "artifact",
                              "protocol",
                              "composition",
                              "tenancy",
                              "event"
                            ]
                          }
                        }
                      },
                      "required": [
                        "project",
                        "kinds"
                      ],
                      "additionalProperties": false
                    },
                    "Edge": {
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "string",
                          "minLength": 1
                        },
                        "to": {
                          "type": "string",
                          "minLength": 1
                        },
                        "kind": {
                          "type": "string",
                          "enum": [
                            "library",
                            "artifact",
                            "protocol",
                            "composition",
                            "tenancy",
                            "event"
                          ]
                        },
                        "resolved_by": {
                          "type": "string",
                          "minLength": 1,
                          "description": "Names a key in this document's top-level `resolution` map, which states the rule and its confidence. JSON Schema cannot express that cross-reference; `deps:check` does, by re-deriving the document."
                        },
                        "matched": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The coordinate this edge's target was found under in `ownership` — the join key. Null when the resolution consulted no index (git-url, github-ref, release-url read the repository straight out of a URL)."
                        },
                        "resolves_from": {
                          "type": "string",
                          "enum": [
                            "published",
                            "path-in-repo",
                            "path-outside-repo",
                            "unknown"
                          ]
                        },
                        "resolves_via": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The override target verbatim, as a filesystem path, when `resolves_from` is not `published` — e.g. `../signet`. Null otherwise, and null on a redacted edge because a path describes someone's disk."
                        },
                        "detail": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "Human-readable identifier for the coupling as the source writes it — a module path, an image reference, a bundle entrypoint. NOT the index key: see `matched`. Null when redacted."
                        },
                        "version": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "rev": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "redacted": {
                          "type": "boolean",
                          "description": "True when an endpoint is non-public and the edge has been stripped to its endpoints and kind. Always present: absent-versus-false is a distinction with no meaning, and redaction changes how a null detail should be read."
                        },
                        "evidence": {
                          "$ref": "#/$defs/Evidence"
                        }
                      },
                      "required": [
                        "from",
                        "to",
                        "kind",
                        "resolved_by",
                        "matched",
                        "resolves_from",
                        "resolves_via",
                        "detail",
                        "version",
                        "rev",
                        "redacted",
                        "evidence"
                      ],
                      "additionalProperties": false,
                      "description": "One coupling between two repositories. `edges` and `weak_edges` share this shape and differ only in how the target was resolved: an entry in `edges` was identified exactly, one in `weak_edges` only by a name match. Both are real declarations the sources make; the split exists so a name match cannot reach an answer that decides what a release breaks."
                    },
                    "Evidence": {
                      "type": "object",
                      "properties": {
                        "repo": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "path": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "table": {
                          "type": "string"
                        },
                        "line": {
                          "description": "1-based line in `path`, when the format carries one.",
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "input": {
                          "type": "string"
                        },
                        "bundle": {
                          "type": "string"
                        },
                        "wire": {
                          "type": "string"
                        },
                        "metaKey": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "repo",
                        "path",
                        "format"
                      ],
                      "additionalProperties": false,
                      "description": "Where a coupling was read from. `repo`/`path`/`format` are always present; the rest are format-specific locators — the Cargo table, the cluster input key, the bundle or wire name, the _meta key. Enumerated rather than open so `additionalProperties: false` keeps meaning that the generator and the contract have drifted apart."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/schema/v1/site-map.json": {
      "get": {
        "summary": "The contract as JSON Schema, generated from the same definition the generator validates against.",
        "operationId": "schema_v1_site_map_json",
        "responses": {
          "200": {
            "description": "The document.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/graph.json": {
      "get": {
        "summary": "Byte-identical alias of the artifact. It predates the well-known path and is kept so nothing already fetching it breaks.",
        "operationId": "graph_json",
        "responses": {
          "200": {
            "description": "The document.",
            "content": {
              "application/json": {
                "schema": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "type": "object",
                  "properties": {
                    "$schema": {
                      "type": "string"
                    },
                    "schema_version": {
                      "type": "number",
                      "const": 1
                    },
                    "note": {
                      "type": "string"
                    },
                    "collected_at": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                      "description": "When the collection this was derived from ran, RFC 3339. The map is a point-in-time reading of moving sources; without this a cached copy is indistinguishable from a current one."
                    },
                    "private_inclusive": {
                      "type": "boolean"
                    },
                    "site": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1
                        },
                        "url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "describes": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "required": [
                        "name",
                        "url",
                        "describes"
                      ],
                      "additionalProperties": false
                    },
                    "boundary": {
                      "type": "object",
                      "properties": {
                        "authored": {
                          "type": "object",
                          "properties": {
                            "fields": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "meaning": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "fields",
                            "meaning"
                          ],
                          "additionalProperties": false
                        },
                        "derived": {
                          "type": "object",
                          "properties": {
                            "fields": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "meaning": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "fields",
                            "meaning"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "authored",
                        "derived"
                      ],
                      "additionalProperties": false
                    },
                    "entities": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "project",
                              "repository"
                            ]
                          },
                          "repo": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "repo_visibility": {
                            "type": "string",
                            "enum": [
                              "public",
                              "restricted"
                            ]
                          },
                          "sources_read": {
                            "type": "boolean"
                          },
                          "manifests_read": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "unexamined": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "authored": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "domain": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "experimental",
                                      "active",
                                      "stable",
                                      "dormant",
                                      "archived"
                                    ]
                                  },
                                  "visibility": {
                                    "type": "string",
                                    "enum": [
                                      "public",
                                      "mixed"
                                    ]
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "primitive": {
                                    "type": "string"
                                  },
                                  "description": {
                                    "type": "string"
                                  },
                                  "relationships": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "project": {
                                          "type": "string"
                                        },
                                        "verb": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "project",
                                        "verb"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "name",
                                  "domain",
                                  "status",
                                  "visibility",
                                  "question",
                                  "primitive",
                                  "description",
                                  "relationships"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "derived": {
                            "type": "object",
                            "properties": {
                              "depends_on": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/$defs/Coupling"
                                }
                              },
                              "depended_on_by": {
                                "type": "array",
                                "items": {
                                  "$ref": "#/$defs/Coupling"
                                }
                              }
                            },
                            "required": [
                              "depends_on",
                              "depended_on_by"
                            ],
                            "additionalProperties": false
                          },
                          "links": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "label": {
                                  "type": "string",
                                  "enum": [
                                    "site",
                                    "source",
                                    "docs",
                                    "writing"
                                  ]
                                },
                                "href": {
                                  "type": "string",
                                  "minLength": 1
                                }
                              },
                              "required": [
                                "label",
                                "href"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "id",
                          "kind",
                          "repo",
                          "repo_visibility",
                          "sources_read",
                          "manifests_read",
                          "unexamined",
                          "authored",
                          "derived",
                          "links"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "edges": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/Edge"
                      }
                    },
                    "weak_edges": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/Edge"
                      }
                    },
                    "unresolved": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "from": {
                            "type": "string"
                          },
                          "want": {
                            "type": "string"
                          },
                          "via": {
                            "type": "string"
                          },
                          "reason": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "from",
                          "want",
                          "via",
                          "reason"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "ownership": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "coordinate": {
                            "type": "string",
                            "minLength": 1
                          },
                          "kind": {
                            "type": "string"
                          },
                          "repo": {
                            "type": "string"
                          },
                          "where": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "contested": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "coordinate",
                          "kind",
                          "repo",
                          "where",
                          "contested"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "declarations": {
                      "type": "object",
                      "properties": {
                        "parsed": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "distinct": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "parsed",
                        "distinct"
                      ],
                      "additionalProperties": false
                    },
                    "edge_kinds": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "reserved_edge_kinds": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "resolution": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "confidence": {
                            "type": "string",
                            "enum": [
                              "exact",
                              "convention",
                              "by-name"
                            ]
                          },
                          "how": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "confidence",
                          "how"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "$schema",
                    "schema_version",
                    "note",
                    "collected_at",
                    "private_inclusive",
                    "site",
                    "boundary",
                    "entities",
                    "edges",
                    "weak_edges",
                    "unresolved",
                    "ownership",
                    "declarations",
                    "edge_kinds",
                    "reserved_edge_kinds",
                    "resolution"
                  ],
                  "additionalProperties": false,
                  "$defs": {
                    "Coupling": {
                      "type": "object",
                      "properties": {
                        "project": {
                          "type": "string"
                        },
                        "kinds": {
                          "minItems": 1,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "library",
                              "artifact",
                              "protocol",
                              "composition",
                              "tenancy",
                              "event"
                            ]
                          }
                        }
                      },
                      "required": [
                        "project",
                        "kinds"
                      ],
                      "additionalProperties": false
                    },
                    "Edge": {
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "string",
                          "minLength": 1
                        },
                        "to": {
                          "type": "string",
                          "minLength": 1
                        },
                        "kind": {
                          "type": "string",
                          "enum": [
                            "library",
                            "artifact",
                            "protocol",
                            "composition",
                            "tenancy",
                            "event"
                          ]
                        },
                        "resolved_by": {
                          "type": "string",
                          "minLength": 1,
                          "description": "Names a key in this document's top-level `resolution` map, which states the rule and its confidence. JSON Schema cannot express that cross-reference; `deps:check` does, by re-deriving the document."
                        },
                        "matched": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The coordinate this edge's target was found under in `ownership` — the join key. Null when the resolution consulted no index (git-url, github-ref, release-url read the repository straight out of a URL)."
                        },
                        "resolves_from": {
                          "type": "string",
                          "enum": [
                            "published",
                            "path-in-repo",
                            "path-outside-repo",
                            "unknown"
                          ]
                        },
                        "resolves_via": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "The override target verbatim, as a filesystem path, when `resolves_from` is not `published` — e.g. `../signet`. Null otherwise, and null on a redacted edge because a path describes someone's disk."
                        },
                        "detail": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "description": "Human-readable identifier for the coupling as the source writes it — a module path, an image reference, a bundle entrypoint. NOT the index key: see `matched`. Null when redacted."
                        },
                        "version": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "rev": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "redacted": {
                          "type": "boolean",
                          "description": "True when an endpoint is non-public and the edge has been stripped to its endpoints and kind. Always present: absent-versus-false is a distinction with no meaning, and redaction changes how a null detail should be read."
                        },
                        "evidence": {
                          "$ref": "#/$defs/Evidence"
                        }
                      },
                      "required": [
                        "from",
                        "to",
                        "kind",
                        "resolved_by",
                        "matched",
                        "resolves_from",
                        "resolves_via",
                        "detail",
                        "version",
                        "rev",
                        "redacted",
                        "evidence"
                      ],
                      "additionalProperties": false,
                      "description": "One coupling between two repositories. `edges` and `weak_edges` share this shape and differ only in how the target was resolved: an entry in `edges` was identified exactly, one in `weak_edges` only by a name match. Both are real declarations the sources make; the split exists so a name match cannot reach an answer that decides what a release breaks."
                    },
                    "Evidence": {
                      "type": "object",
                      "properties": {
                        "repo": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "path": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "format": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "table": {
                          "type": "string"
                        },
                        "line": {
                          "description": "1-based line in `path`, when the format carries one.",
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "input": {
                          "type": "string"
                        },
                        "bundle": {
                          "type": "string"
                        },
                        "wire": {
                          "type": "string"
                        },
                        "metaKey": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "repo",
                        "path",
                        "format"
                      ],
                      "additionalProperties": false,
                      "description": "Where a coupling was read from. `repo`/`path`/`format` are always present; the rest are format-specific locators — the Cargo table, the cluster input key, the bundle or wire name, the _meta key. Enumerated rather than open so `additionalProperties: false` keeps meaning that the generator and the contract have drifted apart."
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/projects.json": {
      "get": {
        "summary": "The public manifest view: authored project records with their derived dependencies folded in.",
        "operationId": "projects_json",
        "responses": {
          "200": {
            "description": "The document.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/0day.json": {
      "get": {
        "summary": "The service descriptor: what this is, when it was collected, which halves are authored versus derived, and where every other surface lives. Small on purpose — an arriving agent needs where to go, not the whole map.",
        "operationId": "well_known_0day_json",
        "responses": {
          "200": {
            "description": "The document.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/openapi.json": {
      "get": {
        "summary": "The HTTP surface as OpenAPI 3.1, generated from this same list and the same Zod contract. What paths exist and what they return, for a consumer that has not read the site.",
        "operationId": "openapi_json",
        "responses": {
          "200": {
            "description": "The document.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/schema/v1/mache-topology.json": {
      "get": {
        "summary": "A mache topology schema for this artifact, generated from the same Zod definition — mount the map as a navigable tree instead of parsing it. Published beside the data so a consumer gets both the facts and a way to walk them.",
        "operationId": "schema_v1_mache_topology_json",
        "responses": {
          "200": {
            "description": "The document.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/projects/{slug}.json": {
      "get": {
        "summary": "One entity on its own, carrying the resolution rules its edges cite and the coordinates it publishes — enough to read and reproduce every claim in it without fetching the whole artifact. Granularity stops here; there is no per-edge endpoint.",
        "operationId": "projects_slug_json",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "Project slug as it appears in the map — see /projects.json for the set.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The document.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}
