{
  "openapi": "3.1.0",
  "info": {
    "title": "MotherAI public information resources",
    "version": "2.0.0",
    "description": "Public static read-only JSON. No credentials, personal data, enquiries or remote assessments."
  },
  "servers": [
    {
      "url": "https://motherai.tech"
    }
  ],
  "paths": {
    "/ai-resources.json": {
      "get": {
        "operationId": "getMotherAIResources",
        "summary": "Get services and canonical source pages",
        "security": [],
        "responses": {
          "200": {
            "description": "Public JSON document",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Catalogue"
                }
              }
            }
          }
        }
      }
    },
    "/ai-check-methodology.json": {
      "get": {
        "operationId": "getMotherAICheckMethodology",
        "summary": "Get self-check questions, routing and limitations",
        "security": [],
        "responses": {
          "200": {
            "description": "Public JSON document",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Methodology"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Catalogue": {
        "type": "object",
        "required": [
          "schema_version",
          "updated",
          "publisher",
          "services",
          "resources",
          "limits"
        ],
        "properties": {
          "schema_version": {
            "type": "string"
          },
          "updated": {
            "type": "string",
            "format": "date"
          },
          "publisher": {
            "type": "object"
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "services": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "resources": {
            "type": "object"
          },
          "limits": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Methodology": {
        "type": "object",
        "required": [
          "schema_version",
          "updated",
          "questions",
          "profiles",
          "routing",
          "limits"
        ],
        "properties": {
          "schema_version": {
            "type": "string"
          },
          "updated": {
            "type": "string",
            "format": "date"
          },
          "questions": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "profiles": {
            "type": "object"
          },
          "routing": {
            "type": "object"
          },
          "limits": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
