{
  "code": null,
  "collection": "algorithms",
  "href": "https://banes-lab.com/ontology/algorithms#algorithms-interface-contract",
  "id": "interface-contract",
  "kind": "algorithm",
  "layer": null,
  "name": "Interface Contract",
  "ref": "algorithms:interface-contract",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-domain-architecture",
          "json": "https://banes-lab.com/json/records/algorithms-domain/architecture",
          "label": "Architecture",
          "markdown": "https://banes-lab.com/records/algorithms-domain/architecture.md",
          "ref": "algorithms-domain:architecture"
        }
      ],
      "relation": "domain"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-domain-tier-leaf",
          "json": "https://banes-lab.com/json/records/vocabulary/domain-tier-leaf",
          "label": "leaf",
          "markdown": "https://banes-lab.com/records/vocabulary/domain-tier-leaf.md",
          "ref": "vocabulary:domain-tier-leaf"
        }
      ],
      "relation": "tier"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-composed-turn-contract",
          "json": "https://banes-lab.com/json/records/algorithms/composed-turn-contract",
          "label": "Composed Turn Contract",
          "markdown": "https://banes-lab.com/records/algorithms/composed-turn-contract.md",
          "ref": "algorithms:composed-turn-contract"
        },
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-mode-driven-response-schema",
          "json": "https://banes-lab.com/json/records/algorithms/mode-driven-response-schema",
          "label": "<Mode-Driven Response Schema>",
          "markdown": "https://banes-lab.com/records/algorithms/mode-driven-response-schema.md",
          "ref": "algorithms:mode-driven-response-schema"
        }
      ],
      "relation": "composed-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/reasoning#reasoning-math-type-logic",
          "json": "https://banes-lab.com/json/records/reasoning/math-type-logic",
          "label": "Logic",
          "markdown": "https://banes-lab.com/records/reasoning/math-type-logic.md",
          "ref": "reasoning:math-type-logic"
        }
      ],
      "relation": "math-type"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#force-contract-compatibility",
          "json": "https://banes-lab.com/json/records/force/contract-compatibility",
          "label": "Contract compatibility",
          "markdown": "https://banes-lab.com/records/force/contract-compatibility.md",
          "ref": "force:contract-compatibility"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#force-semantic-consistency",
          "json": "https://banes-lab.com/json/records/force/semantic-consistency",
          "label": "Semantic consistency",
          "markdown": "https://banes-lab.com/records/force/semantic-consistency.md",
          "ref": "force:semantic-consistency"
        }
      ],
      "relation": "force"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/algorithms#algorithms-domain-mode-driven-response-schema",
          "json": "https://banes-lab.com/json/ontology/algorithms/algorithms-domain-mode-driven-response-schema",
          "label": "Mode-driven response schema",
          "markdown": "https://banes-lab.com/ontology/algorithms/algorithms-domain-mode-driven-response-schema.md",
          "ref": "chapter:/ontology/algorithms#algorithms-domain-mode-driven-response-schema"
        },
        {
          "href": "https://banes-lab.com/ontology/reasoning#the-mathematics",
          "json": "https://banes-lab.com/json/ontology/reasoning/the-mathematics",
          "label": "The mathematics",
          "markdown": "https://banes-lab.com/ontology/reasoning/the-mathematics.md",
          "ref": "chapter:/ontology/reasoning#the-mathematics"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-vocabulary-domain-tier",
          "json": "https://banes-lab.com/json/ontology/schema/the-vocabulary-domain-tier",
          "label": "Domain tiers",
          "markdown": "https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md",
          "ref": "chapter:/ontology/schema#the-vocabulary-domain-tier"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-forces",
          "json": "https://banes-lab.com/json/ontology/schema/the-forces",
          "label": "The forces",
          "markdown": "https://banes-lab.com/ontology/schema/the-forces.md",
          "ref": "chapter:/ontology/schema#the-forces"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "summary": "Define explicit interfaces with preconditions, postconditions, invariants, error semantics, version rules, and compatibility guarantees before implementation.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology/algorithms#algorithms-substitutability",
      "json": "https://banes-lab.com/json/records/algorithms/substitutability",
      "label": "Substitutability",
      "markdown": "https://banes-lab.com/records/algorithms/substitutability.md",
      "ref": "algorithms:substitutability"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology/algorithms#algorithms-coupling-control",
      "json": "https://banes-lab.com/json/records/algorithms/coupling-control",
      "label": "Coupling Control",
      "markdown": "https://banes-lab.com/records/algorithms/coupling-control.md",
      "ref": "algorithms:coupling-control"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/records/algorithms",
    "label": "Algorithm contracts",
    "markdown": "https://banes-lab.com/api/records/algorithms.md",
    "ref": "api:records/algorithms"
  },
  "closure": "https://banes-lab.com/json/records/algorithms/interface-contract/closure"
}
