{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ampersand/refs/heads/main/json-structure/ampersand-api-revision-structure.json",
  "name": "Revision",
  "description": "Revision schema from Ampersand API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The revision ID.",
      "example": "revision-id-1"
    },
    "specVersion": {
      "type": "string",
      "description": "The spec version string.",
      "example": "1.0.0"
    },
    "createTime": {
      "type": "datetime",
      "description": "The time the revision was created."
    },
    "content": {
      "$ref": "../manifest/manifest.yaml#/components/schemas/Integration"
    }
  },
  "required": [
    "content",
    "createTime",
    "id",
    "specVersion"
  ]
}