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

> ## Agent Instructions
> For AgentScope Python, use https://docs.agentscope.io/stable/en/index for new projects. For existing projects, check the installed agentscope version and use matching versioned documentation.
> The /latest/ alias points to development documentation. Use it only with the matching development source. Do not mix AgentScope 1.x and 2.x APIs.
> State the AgentScope version when providing installation commands or code examples. ReMe uses its own continuously updated /reme/latest/ documentation.

# The schema a procedure's editor is built from

> Return :class:`SOPData`'s JSON Schema, unflattened.

Kept with ``$defs``: the verifier union's discriminator mapping
points into them, and no model ever reads this schema.

Returns:
    `SOPSchemaResponse`:
        The schema.



## OpenAPI

````yaml /en/versions/2.0.9/deploy/openapi.json get /sop/schema
openapi: 3.1.0
info:
  title: AgentScope
  version: 2.0.9
servers: []
security: []
paths:
  /sop/schema:
    get:
      tags:
        - sop
      summary: The schema a procedure's editor is built from
      description: |-
        Return :class:`SOPData`'s JSON Schema, unflattened.

        Kept with ``$defs``: the verifier union's discriminator mapping
        points into them, and no model ever reads this schema.

        Returns:
            `SOPSchemaResponse`:
                The schema.
      operationId: get_sop_schema_sop_schema_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SOPSchemaResponse'
        '404':
          description: Not found
components:
  schemas:
    SOPSchemaResponse:
      properties:
        schema:
          additionalProperties: true
          type: object
          title: Schema
          description: JSON Schema of ``SOPData``, ``$defs`` included.
      type: object
      required:
        - schema
      title: SOPSchemaResponse
      description: The JSON Schema a procedure's editor is built from.

````