# service-b.yaml
components:
  schemas:
    Pet:
      type: object
      properties:
        species:
          type: string
```

The merged output will contain both schemas with unique names and namespace extensions:

```yaml