{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://schema.manifest.build/schema.json",
    "title": "Manifest",
    "description": "The backend for AI code editors",
    "type": "object",
    "properties": {
        "name": {
            "description": "The name of your app.",
            "type": "string"
        },
        "version": {
            "description": "The version of your app.",
            "type": "string"
        },
        "entities": {
            "description": "The entities in your app. Doc: https://manifest.build/docs/entities",
            "type": "object",
            "additionalProperties": {
                "$ref": "./definitions/entity-schema.json"
            }
        },
        "endpoints": {
            "description": "The endpoints in your app. Create your own endpoints linking a path and an HTTP method to a handler function. Doc: https://manifest.build/docs/endpoints",
            "type": "object",
            "additionalProperties": {
                "$ref": "./definitions/endpoint-schema.json"
            }
        }
    },
    "required": ["name"],
    "additionalProperties": false
}
