Speakeasy · Schema

RevisionContentsMetadata

AIDocumentationMCPPlatformSDKsTerraformTesting

Properties

Name Type Description
type string
workspace_id string The workspace ID
namespace string The fully qualified namespace
revision_digest string The digest of the parent bundle
title string The OAS title
description string The OAS description
version string The OAS version
hash string The hash of the contents
tags array The tags contained in the OAS -- NOT the OCI tags. Will be empty if the OAS is an overlay.
operation_ids array The operation IDs contained in the OAS. Will be empty if the OAS is an overlay.
num_overlay_actions integer The number of overlay actions in the OAS. Will be 0 if the OAS is not an overlay.
contains_code_samples boolean Whether the OAS contains code samples.
created_at string
View JSON Schema on GitHub

JSON Schema

speakeasy-revisioncontentsmetadata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RevisionContentsMetadata",
  "title": "RevisionContentsMetadata",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "OPENAPI_BUNDLE",
        "OPENAPI_OVERLAY"
      ]
    },
    "workspace_id": {
      "type": "string",
      "description": "The workspace ID"
    },
    "namespace": {
      "type": "string",
      "description": "The fully qualified namespace"
    },
    "revision_digest": {
      "type": "string",
      "description": "The digest of the parent bundle"
    },
    "title": {
      "type": "string",
      "description": "The OAS title"
    },
    "description": {
      "type": "string",
      "description": "The OAS description"
    },
    "version": {
      "type": "string",
      "description": "The OAS version"
    },
    "hash": {
      "type": "string",
      "description": "The hash of the contents"
    },
    "tags": {
      "type": "array",
      "description": "The tags contained in the OAS -- NOT the OCI tags. Will be empty if the OAS is an overlay.",
      "items": {
        "type": "string"
      }
    },
    "operation_ids": {
      "type": "array",
      "description": "The operation IDs contained in the OAS. Will be empty if the OAS is an overlay.",
      "items": {
        "type": "string"
      }
    },
    "num_overlay_actions": {
      "type": "integer",
      "description": "The number of overlay actions in the OAS. Will be 0 if the OAS is not an overlay."
    },
    "contains_code_samples": {
      "type": "boolean",
      "description": "Whether the OAS contains code samples."
    },
    "created_at": {
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    }
  },
  "required": [
    "workspace_id",
    "namespace",
    "revision_digest",
    "type",
    "title",
    "description",
    "version",
    "hash",
    "tags",
    "operation_ids",
    "num_overlay_actions",
    "contains_code_samples",
    "created_at"
  ]
}