---
schema_version: "1"
id: 2834ce5264be0d0be8860c7305650f5585d9f850acfbcccdeb5f96de853fc2aa
title: Schema Examples
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/external_services_examples.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.external_services_examples.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 772619fab857bddd18e0047c38dabfb563d9581844990f3de97af31cd670aecc
description: Explore various scenarios with OpenAPI 2.0 and OpenAPI 3.0 compliant JSON or YAML schemas supported by External Services. The examples cover schema elements like HTTP header as input parameters, and include example usage in Apex. Understanding the examples helps with proper syntax and code placement.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Schema Examples

Explore various scenarios with OpenAPI 2.0 and OpenAPI 3.0 compliant JSON or YAML schemas supported by External Services. The examples cover schema elements like HTTP header as input parameters, and include example usage in Apex. Understanding the examples helps with proper syntax and code placement.

- **[External Services OpenAPI 2.0 Schema](https://help.salesforce.com/s/articleView?id=platform.external_services_schema_examples.htm&release=264.0.0&type=5)**  
    This section features External Services OpenAPI 2.0 schema examples.
- **[External Services OpenAPI 3.0 Schema](https://help.salesforce.com/s/articleView?id=platform.external_services_examples_openapi_3_0.htm&release=264.0.0&type=5)**  
    This section features External Services OpenAPI 3.0 schema examples.
- **[Using the Schema Examples](https://help.salesforce.com/s/articleView?id=platform.external_services_examples_using.htm&release=264.0.0&type=5)**  
    See how the respective Open API 2.0 and 3.0 examples are implemented with Apex.