{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/speakeasy/main/json-schema/speakeasy-github-configure-code-samples-response-schema.json",
  "title": "GithubConfigureCodeSamplesResponse",
  "description": "A response to configure GitHub code samples",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/speakeasy-github-api-openapi.yml#/components/schemas/GithubConfigureCodeSamplesResponse",
  "type": "object",
  "properties": {
    "source": {
      "$ref": "#/$defs/WorkflowDocument"
    },
    "codeSampleOverlayRegistryURL": {
      "type": "string",
      "description": "The URL of the code sample overlay registry"
    },
    "ghActionID": {
      "type": "string",
      "description": "The ID of the GitHub action that was dispatched"
    }
  },
  "required": [
    "source",
    "codeSampleOverlayRegistryURL"
  ],
  "$defs": {
    "WorkflowDocument": {
      "description": "A document referenced by a workflow",
      "properties": {
        "location": {
          "type": "string"
        },
        "auth": {
          "type": "object",
          "properties": {
            "header": {
              "type": "string"
            },
            "secret": {
              "type": "string"
            }
          },
          "required": [
            "header",
            "secret"
          ]
        }
      },
      "required": [
        "location"
      ]
    }
  }
}