> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ownid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a schema

> Returns the JSON-schema associated with a specified schema identifier.



## OpenAPI

````yaml get /schema
openapi: 3.1.0
info:
  title: OwnID API
  version: 1.0.0
  description: Server API for integrating with the OwnID
servers:
  - url: https://server.ownid.com/{appId}
security:
  - AdminAccessToken: []
paths:
  /schema:
    get:
      tags:
        - Profile Schema
      summary: Retrieve a schema
      description: Returns the JSON-schema associated with a specified schema identifier.
      operationId: getSchema
      responses:
        '200':
          description: Successfully retrieved the schema.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JSONSchema'
              examples:
                BasicProfileSchema:
                  $ref: '#/components/examples/BasicProfileSchema'
        '404':
          description: Schema with the requested identifier does not exist.
      security: []
components:
  schemas:
    JSONSchema:
      type: object
      additionalProperties: true
  examples:
    BasicProfileSchema:
      summary: JSON Schema of a basic Profile
      value:
        type: object
        properties:
          firstName:
            type: string
          lastName:
            type: string
  securitySchemes:
    AdminAccessToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````