diff --git a/README.md b/README.md index 331ebea..04b5488 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,41 @@ or use a tool like `xmllint`: xmllint --noout --schema https://rudnerbjoern.github.io/iTop-schema/itop_design.xsd datamodel.xml ``` +## Extending the Schema for Your Own Definitions + +You can extend the provided base schema with your own types by creating a local `itop_design.xsd` file in your project and including the base schema. + +Here is a minimal example: + +```xml + + + + + + + + + + + + + + + + + + + + + + +``` + +This technique allows you to create additional schema constraints or custom attributes while still relying on the iTop structure. + +Take a look at [this example by @Hipska](https://github.com/Super-Visions/sv-geolocation/blob/master/doc/itop_design.xsd) to see it in action. + ## Known Issues ### constants/constant