fauna · Schema

SchemaStatusResponse

Properties

Name Type Description
version integer Schema version timestamp.
status string Index build status for the staged schema. Only schemas with a ready status can be committed.
diff string Diff between the staged and active schema if format was specified.
View JSON Schema on GitHub

JSON Schema

fauna-schemastatusresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SchemaStatusResponse",
  "title": "SchemaStatusResponse",
  "type": "object",
  "properties": {
    "version": {
      "type": "integer",
      "format": "int64",
      "description": "Schema version timestamp."
    },
    "status": {
      "type": "string",
      "enum": [
        "none",
        "pending",
        "ready",
        "failed"
      ],
      "description": "Index build status for the staged schema. Only schemas with a ready status can be committed."
    },
    "diff": {
      "type": "string",
      "description": "Diff between the staged and active schema if format was specified."
    }
  }
}