arazzo: 1.0.1
info:
  title: Pet adoption
  version: 1.0.0
sourceDescriptions:
  - name: petstore
    type: openapi
    url: ./petstore.openapi.yaml
workflows:
  - workflowId: adopt-a-pet
    inputs:
      $ref: https://example.com/schemas/adoption.yaml
    steps:
      - stepId: find-pet
        operationId: getPetById
components:
  inputs:
    adoption:
      $id: https://example.com/schemas/adoption.yaml
      type: object
      properties:
        petId:
          type: string
        adopter:
          $ref: adopter.yaml
      $defs:
        adopter:
          $id: adopter.yaml
          type: object
          properties:
            name:
              type: string
